Skip to content

Commit f994be3

Browse files
committed
fix: Override default workspace ignore list in TestQueryLimit
The default config includes /tmp in the ignored workspaces list. TestQueryLimit was using tempDir (which is /tmp on Linux) but not overriding this default, causing all edits to be ignored. Added explicit [workpaces] section with empty tracked and ignored lists to the test config to ensure edits are not filtered out.
1 parent e7a4571 commit f994be3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/e2e/config_e2e_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ query_socket = "` + querySocket + `"
258258
[query]
259259
default_limit = 10
260260
max_limit = 50
261+
262+
[workspaces]
263+
tracked = []
264+
ignored = []
261265
`
262266

263267
if err := os.WriteFile(configPath, []byte(configContent), 0644); err != nil {

0 commit comments

Comments
 (0)