We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7461e69 commit 3a669b9Copy full SHA for 3a669b9
task/task_smoke_test.go
@@ -8,7 +8,6 @@ import (
8
"strings"
9
"testing"
10
"time"
11
-
12
"io/ioutil"
13
"path/filepath"
14
@@ -91,15 +90,14 @@ func TestTaskSmoke(t *testing.T) {
91
90
testName = "smoke test"
92
}
93
94
- script := `
95
- #!/bin/sh -e
96
- test -v TEST_GPU && nvidia-smi
97
- mkdir --parents cache output
98
- touch cache/file
99
- echo "$ENVIRONMENT_VARIABLE_DATA" | tee --append output/file
100
- sleep 60
101
- cat output/file
102
- `[1:]
+ script := `#!/bin/sh -e
+ test -v TEST_GPU && nvidia-smi
+ mkdir --parents cache output
+ touch cache/file
+ echo "$ENVIRONMENT_VARIABLE_DATA" | tee --append output/file
+ sleep 60
+ cat output/file
+ `
103
104
for provider, enabled := range providers {
105
if !enabled {
0 commit comments