sabban 2 years ago
parent
commit
b64b321468
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pkg/hubtest/hubtest_item.go

+ 2 - 2
pkg/hubtest/hubtest_item.go

@@ -519,7 +519,7 @@ func (t *HubTestItem) Run() error {
 		return fmt.Errorf("Log file '%s' is empty, please fill it with log", logFile)
 		return fmt.Errorf("Log file '%s' is empty, please fill it with log", logFile)
 	}
 	}
 
 
-	cmdArgs := []string{"-c", t.RuntimeConfigFilePath, "machines", "add", "testMachine", "--auto", "-order-event"}
+	cmdArgs := []string{"-c", t.RuntimeConfigFilePath, "machines", "add", "testMachine", "--auto"}
 	cscliRegisterCmd := exec.Command(t.CscliPath, cmdArgs...)
 	cscliRegisterCmd := exec.Command(t.CscliPath, cmdArgs...)
 	log.Debugf("%s", cscliRegisterCmd.String())
 	log.Debugf("%s", cscliRegisterCmd.String())
 	output, err := cscliRegisterCmd.CombinedOutput()
 	output, err := cscliRegisterCmd.CombinedOutput()
@@ -530,7 +530,7 @@ func (t *HubTestItem) Run() error {
 		}
 		}
 	}
 	}
 
 
-	cmdArgs = []string{"-c", t.RuntimeConfigFilePath, "-type", logType, "-dsn", dsn, "-dump-data", t.ResultsPath}
+	cmdArgs = []string{"-c", t.RuntimeConfigFilePath, "-type", logType, "-dsn", dsn, "-dump-data", t.ResultsPath, "-order-event"}
 	for labelKey, labelValue := range t.Config.Labels {
 	for labelKey, labelValue := range t.Config.Labels {
 		arg := fmt.Sprintf("%s:%s", labelKey, labelValue)
 		arg := fmt.Sprintf("%s:%s", labelKey, labelValue)
 		cmdArgs = append(cmdArgs, "-label", arg)
 		cmdArgs = append(cmdArgs, "-label", arg)