Removed faulty test

This commit is contained in:
andronache
2021-04-13 08:26:16 +03:00
committed by Dan Christian Bogos
parent cfbe6e709d
commit 7ec0be2c2c

View File

@@ -81,13 +81,7 @@ func TestCoreServiceStatus(t *testing.T) {
reply[utils.RunningSince] = "TIME_CHANGED"
reply[utils.MemoryUsage] = "CHANGED_MEMORY_USAGE"
}
goRoutinesInt := (reply[utils.ActiveGoroutines]).(int)
if err != nil {
t.Error(err)
}
if goRoutinesInt < 18 {
t.Errorf("number of goroutines received: %d", goRoutinesInt)
}
if !reflect.DeepEqual(expected[utils.GoVersion], reply[utils.GoVersion]) {
t.Errorf("Expected %+v, received %+v", utils.ToJSON(expected[utils.GoVersion]), utils.ToJSON(reply[utils.GoVersion]))
}