|
@@ -3,7 +3,6 @@ package blacklist
|
|
|
import (
|
|
|
"os"
|
|
|
"testing"
|
|
|
- "time"
|
|
|
|
|
|
"imuslab.com/arozos/mod/database"
|
|
|
)
|
|
@@ -26,7 +25,7 @@ func setupSuite(t *testing.T) func(t *testing.T) {
|
|
|
return func(t *testing.T) {
|
|
|
//t.Log("Cleaning up")
|
|
|
sysDb.Close()
|
|
|
- time.Sleep(5 * time.Second)
|
|
|
+ //time.Sleep(5 * time.Second)
|
|
|
err := os.RemoveAll(dbFilePath)
|
|
|
if err != nil {
|
|
|
t.Fatalf("Failed to clean up: %v", err)
|