Skip to content

Commit 979aeb5

Browse files
authored
chore(integration): fix failing coder-ai-task integration test (#456)
1 parent bc840fd commit 979aeb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

integration/integration_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func TestIntegration(t *testing.T) {
4343

4444
coderImg := os.Getenv("CODER_IMAGE")
4545
if coderImg == "" {
46-
coderImg = "ghcr.io/coder/coder"
46+
coderImg = "ghcr.io/coder/coder-preview"
4747
}
4848

4949
coderVersion := os.Getenv("CODER_VERSION")
@@ -215,10 +215,10 @@ func TestIntegration(t *testing.T) {
215215
name: "coder-ai-task",
216216
minVersion: "v2.26.0",
217217
expectedOutput: map[string]string{
218-
"ai_task.id": `^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$`,
218+
"ai_task.id": `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`,
219219
"ai_task.prompt": "default",
220-
"ai_task.app_id": `^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$`,
221-
"app.id": `^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$`,
220+
"ai_task.app_id": `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`,
221+
"app.id": `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`,
222222
},
223223
},
224224
} {

0 commit comments

Comments
 (0)