Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
E2E: don’t collect logs if soak test (#2240)
Browse files Browse the repository at this point in the history
* don’t collect logs if soak test

* this!
  • Loading branch information
jackfrancis authored Feb 9, 2018
1 parent 183c10a commit 6b4ca5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func trap() {
func teardown() {
pt.RecordTotalTime()
pt.Write()
if cliProvisioner.Config.IsKubernetes() {
if cliProvisioner.Config.IsKubernetes() && cfg.SoakClusterName == "" {
hostname := fmt.Sprintf("%s.%s.cloudapp.azure.com", cfg.Name, cfg.Location)
logsPath := filepath.Join(cfg.CurrentWorkingDir, "_logs", hostname)
err := os.MkdirAll(logsPath, 0755)
Expand Down

0 comments on commit 6b4ca5e

Please sign in to comment.