From cfb6b96abb379565976a75f762bc43c9d23398b8 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Thu, 29 Nov 2018 18:05:31 +0200 Subject: [PATCH] Added stop engine functions to some integration tests --- apier/v2/tp_it_test.go | 1 + sessions/data_it_test.go | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/apier/v2/tp_it_test.go b/apier/v2/tp_it_test.go index af5ad3e8c..054c64ade 100644 --- a/apier/v2/tp_it_test.go +++ b/apier/v2/tp_it_test.go @@ -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) diff --git a/sessions/data_it_test.go b/sessions/data_it_test.go index d294a4659..ba7e1e8db 100644 --- a/sessions/data_it_test.go +++ b/sessions/data_it_test.go @@ -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) + } +}