update integration test in apier/v1

This commit is contained in:
TeoV
2018-06-21 10:50:34 -04:00
committed by Dan Christian Bogos
parent b8f75a831c
commit 05d4acab5a
3 changed files with 6 additions and 5 deletions

View File

@@ -172,7 +172,7 @@ func TestSessionSv1ItGetThreshold(t *testing.T) {
func TestSessionSv1ItAuth(t *testing.T) {
args := &sessions.V1AuthorizeArgs{
AuthorizeResources: true,
ProcessThresholds: utils.BoolPointer(true),
ProcessThresholds: true,
CGREvent: utils.CGREvent{
Tenant: "cgrates.org",
ID: "TestSSv1ItAuth",
@@ -236,7 +236,7 @@ func TestSessionSv1ItInitiateSession(t *testing.T) {
args := &sessions.V1InitSessionArgs{
InitSession: true,
AllocateResources: true,
ProcessThresholds: utils.BoolPointer(true),
ProcessThresholds: true,
CGREvent: utils.CGREvent{
Tenant: "cgrates.org",
ID: "TestSSv1ItInitiateSession",
@@ -301,7 +301,7 @@ func TestSessionSv1ItTerminateSession(t *testing.T) {
args := &sessions.V1TerminateSessionArgs{
TerminateSession: true,
ReleaseResources: true,
ProcessThresholds: utils.BoolPointer(true),
ProcessThresholds: true,
CGREvent: utils.CGREvent{
Tenant: "cgrates.org",
ID: "TestSSv1ItTerminateSession",

View File

@@ -426,8 +426,8 @@ CREATE TABLE tp_stats (
"activation_interval" varchar(64) NOT NULL,
"queue_length" INTEGER NOT NULL,
"ttl" varchar(32) NOT NULL,
"metrics" varchar(64) NOT NULL,
"parameters" varchar(64) NOT NULL,
"metrics" VARCHAR(128) NOT NULL,
"parameters" VARCHAR(128) NOT NULL,
"blocker" BOOLEAN NOT NULL,
"stored" BOOLEAN NOT NULL,
"weight" decimal(8,2) NOT NULL,

View File

@@ -76,6 +76,7 @@
{"address": "127.0.0.1:2012", "transport": "*json"}
],
"debit_interval": "10s",
"channel_sync_interval":"7s",
},