Small fix

This commit is contained in:
Edwardro22
2016-11-28 12:42:11 +01:00
parent 46c240bc8e
commit 916624f8b1
8 changed files with 2 additions and 11 deletions

View File

@@ -40,7 +40,6 @@ import (
"github.com/fiorix/go-diameter/diam/dict"
)
var testIT = flag.Bool("integration", false, "Perform the tests only on local test environment, not by default.")
var waitRater = flag.Int("wait_rater", 100, "Number of miliseconds to wait for rater to start and cache")
var dataDir = flag.String("data_dir", "/usr/share/cgrates", "CGR data dir path here")
var interations = flag.Int("iterations", 1, "Number of iterations to do for dry run simulation")

View File

@@ -60,7 +60,6 @@ var cfgPath string
var cfg *config.CGRConfig
var rater *rpc.Client
var testIT = flag.Bool("integration", false, "Perform the tests only on local test environment, not by default.")
var dataDir = flag.String("data_dir", "/usr/share/cgrates", "CGR data dir path here")
var storDbType = flag.String("stordb_type", "mysql", "The type of the storDb database <mysql>")
var waitRater = flag.Int("wait_rater", 500, "Number of miliseconds to wait for rater to start and cache")

View File

@@ -33,7 +33,6 @@ import (
)
var (
testIT = flag.Bool("integration", false, "Perform the tests only on local test environment, not by default.")
dataDir = flag.String("data_dir", "/usr/share/cgrates", "CGR data dir path here")
waitRater = flag.Int("wait_rater", 500, "Number of miliseconds to wait for rater to start and cache")
)

View File

@@ -53,7 +53,6 @@ var cdrcCfgs []*config.CdrcConfig
var cdrcCfg *config.CdrcConfig
var cdrcRpc *rpc.Client
var testIT = flag.Bool("integration", false, "Perform the tests only on local test environment, not by default.")
var dataDir = flag.String("data_dir", "/usr/share/cgrates", "CGR data dir path here")
var waitRater = flag.Int("wait_rater", 300, "Number of miliseconds to wait for rater to start and cache")

View File

@@ -20,12 +20,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
package config
import (
"flag"
"github.com/cgrates/cgrates/utils"
"testing"
"github.com/cgrates/cgrates/utils"
)
var testIT = flag.Bool("integration", false, "Perform the tests only on local test environment, not by default.")
var mfCgrCfg *CGRConfig
func TestMfInitConfig(t *testing.T) {

View File

@@ -29,7 +29,6 @@ import (
)
// Arguments received via test command
var testIT = flag.Bool("integration", false, "Perform the tests only on local test environment, not by default.")
var dataDir = flag.String("data_dir", "/usr/share/cgrates", "CGR data dir path here")
// Sample HttpJsonPost, more for usage purposes

View File

@@ -42,7 +42,6 @@ var cfgPath string
var cfg *config.CGRConfig
var rater *rpc.Client
var testIT = flag.Bool("integration", false, "Perform the tests only on local test environment, not by default.")
var testCalls = flag.Bool("calls", false, "Run test calls simulation, not by default.")
var dataDir = flag.String("data_dir", "/usr/share/cgrates", "CGR data dir path here")
var storDbType = flag.String("stordb_type", "mysql", "The type of the storDb database <mysql>")

View File

@@ -21,14 +21,12 @@ package utils
import (
"encoding/json"
"flag"
"io/ioutil"
"os"
"reflect"
"testing"
"time"
)
var testIT = flag.Bool("integration", false, "Perform the tests only on local test environment, not by default.")
type TestContent struct {
Var1 string