Skip to content

Commit 3f4351e

Browse files
committed
fix: Set cache dir for coderd in codedtest
1 parent 54547a4 commit 3f4351e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/coderdtest/coderdtest.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ func newWithCloser(t *testing.T, options *Options) (*codersdk.Client, io.Closer)
175175
AgentInactiveDisconnectTimeout: 5 * time.Second,
176176
AccessURL: serverURL,
177177
Logger: slogtest.Make(t, nil).Leveled(slog.LevelDebug),
178+
CacheDir: t.TempDir(),
178179
Database: db,
179180
Pubsub: pubsub,
180181

0 commit comments

Comments
 (0)