mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
test(codersdk/toolsdk): scope err in SendTaskInput and GetTaskLogs subtests (#25434)
Fixes coder/internal#1475 Fixes CODAGT-364
This commit is contained in:
committed by
GitHub
parent
9c2e0aac88
commit
1ddc89caa2
@@ -2141,7 +2141,7 @@ func TestTools(t *testing.T) {
|
||||
ctx := testutil.Context(t, testutil.WaitShort)
|
||||
|
||||
// Ensure the app is healthy (required to send task input).
|
||||
err = store.UpdateWorkspaceAppHealthByID(dbauthz.AsSystemRestricted(ctx), database.UpdateWorkspaceAppHealthByIDParams{
|
||||
err := store.UpdateWorkspaceAppHealthByID(dbauthz.AsSystemRestricted(ctx), database.UpdateWorkspaceAppHealthByIDParams{
|
||||
ID: task.WorkspaceAppID.UUID,
|
||||
Health: database.WorkspaceAppHealthHealthy,
|
||||
})
|
||||
@@ -2281,7 +2281,7 @@ func TestTools(t *testing.T) {
|
||||
ctx := testutil.Context(t, testutil.WaitShort)
|
||||
|
||||
// Ensure the app is healthy (required to read task logs).
|
||||
err = store.UpdateWorkspaceAppHealthByID(dbauthz.AsSystemRestricted(ctx), database.UpdateWorkspaceAppHealthByIDParams{
|
||||
err := store.UpdateWorkspaceAppHealthByID(dbauthz.AsSystemRestricted(ctx), database.UpdateWorkspaceAppHealthByIDParams{
|
||||
ID: task.WorkspaceAppID.UUID,
|
||||
Health: database.WorkspaceAppHealthHealthy,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user