fix(NET-117): force delete hosts and assoc nodes (#2432)

This commit is contained in:
Aceix
2023-07-10 10:03:59 +00:00
committed by GitHub
parent b212ae32d1
commit 68b8d7f600
4 changed files with 16 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ func TestCheckPorts(t *testing.T) {
//not sure why this initialization is required but without it
// RemoveHost returns database is closed
database.InitializeDatabase()
RemoveHost(&h)
RemoveHost(&h, true)
CreateHost(&h)
t.Run("no change", func(t *testing.T) {
is := is.New(t)