Added stop engine functions to some integration tests

This commit is contained in:
Trial97
2018-11-29 18:05:31 +02:00
committed by Dan Christian Bogos
parent a65346fed2
commit cfb6b96abb
2 changed files with 7 additions and 0 deletions

View File

@@ -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)

View File

@@ -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)
}
}