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 1d59895 commit aa231cfCopy full SHA for aa231cf
1 file changed
services/tasks/TaskRunner_test.go
@@ -690,6 +690,10 @@ func TestTaskGetPlaybookArgs3(t *testing.T) {
690
}
691
692
func TestCheckTmpDir(t *testing.T) {
693
+ util.Config = &util.ConfigType{
694
+ TmpPath: "/tmp",
695
+ }
696
+
697
//It should be able to create a random dir in /tmp
698
dirName := path.Join(os.TempDir(), util.RandString(rand.Intn(10-4)+4))
699
err := checkTmpDir(dirName)
0 commit comments