mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Added stop engine functions to some integration tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
a65346fed2
commit
cfb6b96abb
@@ -256,6 +256,7 @@ func testTPitDestinations(t *testing.T) {
|
||||
t.Errorf("Calling ApierV2.GetTPDestinationIDs expected: %v, received: %v", expectedDstIds, rplyDstIds)
|
||||
}
|
||||
}
|
||||
|
||||
func testTPitKillEngine(t *testing.T) {
|
||||
if err := engine.KillEngine(100); err != nil {
|
||||
t.Error(err)
|
||||
|
||||
@@ -786,3 +786,9 @@ func TestSMGDataTTLUsageProtection(t *testing.T) {
|
||||
t.Error(err, aSessions)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSMGDataTTKillEngine(t *testing.T) {
|
||||
if err := engine.KillEngine(100); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user