瀏覽代碼

remove line limit from dashboard simulation test

flashmob 8 年之前
父節點
當前提交
ea7149d214
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      dashboard/dashboard_test.go

+ 0 - 6
dashboard/dashboard_test.go

@@ -106,7 +106,6 @@ func TestSimulationRun(t *testing.T) {
 
 	// match with quotes or without, ie. time="..." or level=
 	r := regexp.MustCompile(`(.+?)=("[^"]*"|\S*)\s*`)
-	c := 0
 	simStart := time.Now()
 	var start time.Time
 	for scanner.Scan() {
@@ -144,11 +143,6 @@ func TestSimulationRun(t *testing.T) {
 
 		l.WithFields(fields).Info(msg)
 
-		c++
-		if c > 5000 {
-			break
-		}
-
 	}
 
 	Stop()