diff --git a/README.md b/README.md index 40e3cbe..1984bc3 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/agent/agent_test.go b/agent/agent_test.go index 2d79695..c6b8340 100644 --- a/agent/agent_test.go +++ b/agent/agent_test.go @@ -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 { @@ -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