mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fixed integration test regadring cdrs ttl internal
This commit is contained in:
committed by
Dan Christian Bogos
parent
7bae909e38
commit
a4625e64fe
@@ -21,7 +21,7 @@
|
||||
"stor_db": {
|
||||
"db_type": "*internal",
|
||||
"items":{
|
||||
"cdrs": {"ttl": "2s"}
|
||||
"cdrs": {"limit": -1,"ttl": "2s"}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ func testCdrsIntTestTTL(t *testing.T) {
|
||||
time.Sleep(3 * time.Second)
|
||||
if err := cdrsIntRPC.Call(utils.APIerSv2GetCDRs, &utils.RPCCDRsFilter{}, &cdrs); err == nil ||
|
||||
err.Error() != utils.ErrNotFound.Error() {
|
||||
t.Fatal("Unexpected error: ", err.Error())
|
||||
t.Fatal("Unexpected error: ", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user