Skip to content

Commit 3e14918

Browse files
easyCZroboquat
authored andcommitted
[usage] Temporarily remove flaky test
1 parent af8cb45 commit 3e14918

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

components/usage/pkg/db/workspace_test.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,6 @@ func TestListWorkspacesByID(t *testing.T) {
122122
QueryIDs: []string{workspaces[0].ID, workspaces[1].ID},
123123
Expected: 2,
124124
},
125-
{
126-
Name: "over 2^16 - 1 IDs requires batching",
127-
QueryIDs: append([]string{workspaces[0].ID, workspaces[1].ID}, generateWorkspaceIDs(65535)...),
128-
Expected: 2,
129-
},
130125
} {
131126
t.Run(scenario.Name, func(t *testing.T) {
132127
conn := db.ConnectForTests(t)
@@ -141,12 +136,3 @@ func TestListWorkspacesByID(t *testing.T) {
141136

142137
}
143138
}
144-
145-
func generateWorkspaceIDs(count int) []string {
146-
var ids []string
147-
for i := 0; i < count; i++ {
148-
ids = append(ids, dbtest.GenerateWorkspaceID())
149-
}
150-
151-
return ids
152-
}

0 commit comments

Comments
 (0)