Browse Source

remove line limit from dashboard simulation test

flashmob 8 years ago
parent
commit
ea7149d214
1 changed files with 0 additions and 6 deletions
  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()