Skip to content

Commit

Permalink
Updated test port because AppVeyor is using it
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne0nd0g committed Apr 20, 2021
1 parent 96f3dac commit 716aaf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![AppVeyor](https://ci.appveyor.com/api/projects/status/github/Ne0nd0g/merlin-agent?branch=master&svg=true)](https://ci.appveyor.com/project/Ne0nd0g/merlin-agent)
[![AppVeyor](https://ci.appveyor.com/api/projects/status/xi0n3ucm5i234ios/branch/master?svg=true)](https://ci.appveyor.com/project/Ne0nd0g/merlin-agent)
[![GoReportCard](https://goreportcard.com/badge/github.com/ne0nd0g/merlin-agent)](https://goreportcard.com/badge/github.com/ne0nd0g/merlin-agent)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Release](https://img.shields.io/github/release/Ne0nd0g/merlin-agent.svg)](https://github.com/Ne0nd0g/merlin-agent/releases/latest)
Expand Down
5 changes: 3 additions & 2 deletions agent/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func TestBadAuthentication(t *testing.T) {
// Get the client
config := clientConfig
config.AgentID = a.ID
config.URL = "https://127.0.0.1:8084"
config.URL = "https://127.0.0.1:8085"
config.PSK = "neverGonnaGiveYouUp"
a.Client, err = merlinHTTP.New(config)
if err != nil {
Expand All @@ -299,7 +299,8 @@ func TestBadAuthentication(t *testing.T) {
setup := make(chan struct{})
ended := make(chan struct{})

go testserver.TestServer{}.Start("8084", ended, setup, t)
// AppVeyor uses port 8084 for something else
go testserver.TestServer{}.Start("8085", ended, setup, t)
//wait until set up
<-setup

Expand Down

0 comments on commit 716aaf9

Please sign in to comment.