it tests and driver comments deleted

This commit is contained in:
adi
2023-01-10 16:37:34 +02:00
committed by Dan Christian Bogos
parent 99548f291a
commit 4c9d737b1d
3 changed files with 4 additions and 7 deletions

View File

@@ -49,8 +49,9 @@ var (
testSetProfilesWithFltrsAndOverwriteThemFIdx,
testSetAndChangeFiltersOnProfiles,
testV1FIdxdxInitDataDb,
/* testV1FIdxSetThresholdProfile,
testV1FIdxSetThresholdProfile,
testV1FIdxComputeThresholdsIndexes,
testV1FIdxSetSecondThresholdProfile,
testV1FIdxSecondComputeThresholdsIndexes,
@@ -108,7 +109,7 @@ var (
testV1FIdxResetStorDb,
testV1FIdxClearCache,
//testV1FIdxSetDispatcherComputeIDs,
testV1FIdxSetResourceComputeIDs, */
testV1FIdxSetResourceComputeIDs,
testV1FIdxStopEngine,
}

View File

@@ -153,7 +153,7 @@ func testPrecacheRestartEngine(t *testing.T) {
if err != nil {
t.Fatal("Could not connect to rater: ", err.Error())
}
time.Sleep(2 * time.Second) // let the *apiban cache to be populated
time.Sleep(3*time.Second + 800*time.Millisecond) // let the *apiban cache to be populated
}
func testPrecacheGetCacheStatsAfterRestart(t *testing.T) {

View File

@@ -840,10 +840,6 @@ func (iDB *InternalDB) SetIndexesDrv(idxItmType, tntCtx string,
true, utils.NonTransactional)
continue
}
//to be the same as HMSET
// if x, ok := iDB.db.Get(idxItmType, dbKey); ok && x != nil {
// indx = utils.JoinStringSet(indx, x.(utils.StringSet))
// }
iDB.db.Set(idxItmType, dbKey, indx, []string{tntCtx},
true, utils.NonTransactional)
}