Updated integration tests

This commit is contained in:
Trial97
2021-01-26 12:47:59 +02:00
committed by Dan Christian Bogos
parent 0d7ae998d4
commit 0b062d87ec
7 changed files with 12 additions and 138 deletions

View File

@@ -196,6 +196,8 @@ func testAnalyzerSChargerSv1ProcessEvent(t *testing.T) {
}
func testAnalyzerSV1Search(t *testing.T) {
// need to wait in order for the log gorutine to execute
time.Sleep(10 * time.Millisecond)
var result []map[string]interface{}
if err := anzRPC.Call(utils.AnalyzerSv1StringQuery, &QueryArgs{HeaderFilters: `+RequestEncoding:\*internal +RequestMethod:AttributeSv1\.ProcessEvent`}, &result); err != nil {
t.Error(err)