Skip to content

Commit 0ea74db

Browse files
committed
tweaks
1 parent c12a344 commit 0ea74db

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

cmd/dbos/cli_integration_test.go

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func testListWorkflows(t *testing.T, cliPath string) {
267267
maxCount: 10,
268268
},
269269
{
270-
name: "QueueOnlyList",
270+
name: "QueueNameFilter",
271271
args: []string{"workflow", "list", "--json", "--queue", "example-queue"},
272272
expectWorkflows: true,
273273
expectQueuedCount: 10, // From QueueWorkflow which enqueues 10 workflows
@@ -320,28 +320,12 @@ func testListWorkflows(t *testing.T, cliPath string) {
320320
args: []string{"workflow", "list", "--json", "--end-time", currentTime.Add(1 * time.Hour).Format(time.RFC3339)},
321321
expectWorkflows: true, // Should return all workflows created before now + 1 hour
322322
},
323-
{
324-
name: "MultipleFilters",
325-
args: []string{"workflow", "list", "--json", "--status", "ENQUEUED", "--queue", "example-queue", "--limit", "20"},
326-
expectWorkflows: true,
327-
checkStatus: dbos.WorkflowStatusEnqueued,
328-
checkQueueNames: true,
329-
maxCount: 20,
330-
},
331323
{
332324
name: "WorkflowNameFilter",
333325
args: []string{"workflow", "list", "--json", "--name", "main.QueueWorkflow"},
334326
expectWorkflows: true,
335327
minCount: 1, // Should find at least the QueueWorkflow
336328
},
337-
{
338-
name: "QueueNameFilter",
339-
args: []string{"workflow", "list", "--json", "--queue", "example-queue", "--status", "ENQUEUED"},
340-
expectWorkflows: true,
341-
checkQueueNames: true,
342-
checkStatus: dbos.WorkflowStatusEnqueued,
343-
minCount: 10, // Should find the 10 enqueued workflows
344-
},
345329
{
346330
name: "QueuesOnlyFilter",
347331
args: []string{"workflow", "list", "--json", "--queues-only"},

0 commit comments

Comments
 (0)