Fix unstable parallel tests (#202)

* update interface tests and configuration messages

* little debug

* little debug on both errors

* print all devs

* list of devices

* debug func

* handle interface close

* debug socks

* debug socks

* if ports match

* use random assigned ports

* remove unused const

* close management client connection when stopping engine

* GracefulStop when management clients are closed

* enable workflows on PRs too

* remove iface_test debug code
This commit is contained in:
Maycon Santos
2022-01-25 09:40:28 +01:00
committed by GitHub
parent 8ab6eb1cf4
commit 0739038d51
12 changed files with 87 additions and 47 deletions

View File

@ -297,7 +297,7 @@ func TestEngine_MultiplePeers(t *testing.T) {
t.Fatal(err)
return
}
defer mgmtServer.Stop()
defer mgmtServer.GracefulStop()
setupKey := "A2C8E62B-38F5-4553-B31E-DD66C696CEBB"