Skip to content

flake: cli Test_Tasks/delete_task #1112

@mtojek

Description

@mtojek

Spotted while running a standard CI job:

=== FAIL: cli Test_Tasks/delete_task (0.44s)
    clitest.go:75: invoking command: coder --global-config /var/folders/lf/wbx6llps6z37wkfpk85_942m0000gn/T/Test_Tasksdelete_task1504307573/001 exp task delete funny-nobel233 --yes
    exp_task_test.go:143: 
        	Error Trace:	/Users/runner/work/coder/coder/cli/exp_task_test.go:143
        	Error:      	Received unexpected error:
        	            	running command "coder exp task delete": delete task "naughty-gagarin8-zJ3/funny-nobel233":
        	            	    github.com/coder/coder/v2/cli.(*RootCmd).taskDelete.func1
        	            	        /Users/runner/work/coder/coder/cli/exp_task_delete.go:75
        	            	  - DELETE http://127.0.0.1:50142/api/experimental/tasks/naughty-gagarin8-zJ3/e3e442e4-03f4-4287-9814-4cc170c9034c: unexpected status code 500: Failed to delete task
        	            		Error: sql: no rows in result set
        	Test:       	Test_Tasks/delete_task
    --- FAIL: Test_Tasks/delete_task (0.44s)

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions