浏览代码

bug(test): remove initConf to be able to run in github action

ngjaying 5 年之前
父节点
当前提交
5084709a91
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      xsql/processors/xsql_processor_test.go

+ 0 - 2
xsql/processors/xsql_processor_test.go

@@ -1871,7 +1871,6 @@ func TestWindowError(t *testing.T) {
 	fmt.Printf("The test bucket size is %d.\n\n", len(tests))
 	createSchemalessStreams(t)
 	defer dropSchemalessStreams(t)
-	common.InitConf()
 	for i, tt := range tests {
 		test.ResetClock(1541152486000)
 		p := NewRuleProcessor(DbDir)
@@ -2730,7 +2729,6 @@ func TestEventWindow(t *testing.T) {
 	fmt.Printf("The test bucket size is %d.\n\n", len(tests))
 	createEventStreams(t)
 	defer dropEventStreams(t)
-	common.InitConf()
 	for i, tt := range tests {
 		test.ResetClock(1541152486000)
 		p := NewRuleProcessor(DbDir)