mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
fix for GRA-1350
This commit is contained in:
@@ -41,6 +41,10 @@ func TestCheckPorts(t *testing.T) {
|
||||
ListenPort: 51830,
|
||||
ProxyListenPort: 51730,
|
||||
}
|
||||
//not sure why this initialization is required but without it
|
||||
// RemoveHost returns database is closed
|
||||
database.InitializeDatabase()
|
||||
RemoveHost(&h)
|
||||
CreateHost(&h)
|
||||
t.Run("no change", func(t *testing.T) {
|
||||
is := is.New(t)
|
||||
|
Reference in New Issue
Block a user