Skip to content

Commit 0cb0d18

Browse files
committed
add TODO
1 parent 41561b9 commit 0cb0d18

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cli/agent_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"github.com/coder/coder/pty/ptytest"
2323
)
2424

25+
// TODO(Cian): These ones are failing but only with dbfake
2526
func TestWorkspaceAgent(t *testing.T) {
2627
t.Parallel()
2728

coderd/database/dbfake/dbfake.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2855,7 +2855,7 @@ func (q *FakeQuerier) GetWorkspaceAgentAndOwnerByAuthToken(_ context.Context, au
28552855
continue
28562856
}
28572857
for _, build := range q.workspaceBuilds {
2858-
if build.JobID != res.JobID {
2858+
if build.JobID != res.JobID { // <-- jobID does not match up
28592859
continue
28602860
}
28612861
for _, ws := range q.workspaces {

0 commit comments

Comments
 (0)