Skip to content

Commit

Permalink
no /tmp on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Oct 2, 2024
1 parent 7664736 commit 7e1899e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configmap/updater_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type updaterTestSuite struct {

func (s *updaterTestSuite) SetupTest() {
var err error
s.tempDir, err = os.MkdirTemp("/tmp", "updater_test")
s.tempDir, err = os.MkdirTemp("", "updater_test")
assert.NoError(s.T(), err, "failed creating temp directory for testing")
s.copyTestDataToDir()
s.linkDataDirTo(firstGoodDir)
Expand Down

0 comments on commit 7e1899e

Please sign in to comment.