mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Added go clean --cache for integration tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
a845675094
commit
65e67691b7
@@ -163,7 +163,6 @@ func testV1FIdxSetThresholdProfile(t *testing.T) {
|
||||
ExpiryTime: time.Date(2014, 7, 14, 14, 25, 0, 0, time.UTC),
|
||||
},
|
||||
}
|
||||
|
||||
var result string
|
||||
if err := tFIdxRpc.Call("ApierV1.SetFilter", filter, &result); err != nil {
|
||||
t.Error(err)
|
||||
@@ -1609,7 +1608,7 @@ func testV1FIdxGetFilterIndexes4(t *testing.T) {
|
||||
}
|
||||
|
||||
func testV1FIdxStopEngine(t *testing.T) {
|
||||
if err := engine.KillEngine(100); err != nil {
|
||||
if err := engine.KillEngine(thdsDelay); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@ import (
|
||||
var tFIdxCaRpc *rpc.Client
|
||||
|
||||
var sTestsFilterIndexesSV1Ca = []func(t *testing.T){
|
||||
testV1FIdxdxInitDataDb,
|
||||
testV1FIdxCaLoadConfig,
|
||||
testV1FIdxdxInitDataDb,
|
||||
testV1FIdxCadxInitDataDb,
|
||||
testV1FIdxCaResetStorDb,
|
||||
testV1FIdxCaStartEngine,
|
||||
@@ -1448,7 +1448,7 @@ func testV1FIdxCaRemoveResourceProfile(t *testing.T) {
|
||||
}
|
||||
|
||||
func testV1FIdxCaStopEngine(t *testing.T) {
|
||||
if err := engine.KillEngine(100); err != nil {
|
||||
if err := engine.KillEngine(thdsDelay); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#! /usr/bin/env sh
|
||||
go clean --cache
|
||||
./test.sh
|
||||
gen=$?
|
||||
echo 'go test github.com/cgrates/cgrates/apier/v1 -tags=integration'
|
||||
|
||||
Reference in New Issue
Block a user