From ca4dfe5fb14bd86f6511f69429b2282d7d053c11 Mon Sep 17 00:00:00 2001 From: TeoV Date: Mon, 28 Oct 2019 10:57:20 -0400 Subject: [PATCH] Change max_increments in tutinternal and tutmysql and add test for tutmysql in general_tests/a1 --- data/conf/samples/tutinternal/cgrates.json | 1 + data/conf/samples/tutmysql/cgrates.json | 1 + general_tests/a1_it_test.go | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/data/conf/samples/tutinternal/cgrates.json b/data/conf/samples/tutinternal/cgrates.json index 7210fba38..e59e4eee2 100644 --- a/data/conf/samples/tutinternal/cgrates.json +++ b/data/conf/samples/tutinternal/cgrates.json @@ -28,6 +28,7 @@ "thresholds_conns": [ {"address": "*internal"}, ], + "max_increments":3000000, }, diff --git a/data/conf/samples/tutmysql/cgrates.json b/data/conf/samples/tutmysql/cgrates.json index 7095eac89..1b256579f 100644 --- a/data/conf/samples/tutmysql/cgrates.json +++ b/data/conf/samples/tutmysql/cgrates.json @@ -31,6 +31,7 @@ "thresholds_conns": [ {"address": "*internal"}, ], + "max_increments":3000000, }, diff --git a/general_tests/a1_it_test.go b/general_tests/a1_it_test.go index 1ae51e181..c43887366 100644 --- a/general_tests/a1_it_test.go +++ b/general_tests/a1_it_test.go @@ -64,6 +64,13 @@ func TestA1ItMongo(t *testing.T) { } } +func TestA1ItRedis(t *testing.T) { + a1ConfigDir = "tutmysql" + for _, stest := range sTestsA1it { + t.Run(a1ConfigDir, stest) + } +} + func TestA1ItInternal(t *testing.T) { a1ConfigDir = "tutinternal" for _, stest := range sTestsA1it {