mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-03 16:10:37 +00:00
test: queue the OIDC test jobs once
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9e6c85263e
commit
e8f14fadb8
@@ -394,8 +394,7 @@ async fn test_oidc_claim_carries_the_presented_scopes(db: Pool<Postgres>) -> any
|
||||
.execute(&db)
|
||||
.await?;
|
||||
sqlx::query(
|
||||
"INSERT INTO v2_job_queue (id, workspace_id, running, scheduled_for, tag)
|
||||
SELECT id, workspace_id, true, now(), tag FROM v2_job WHERE id = ANY($1)",
|
||||
"UPDATE v2_job_queue q SET tag = j.tag FROM v2_job j WHERE q.id = j.id AND q.id = ANY($1)",
|
||||
)
|
||||
.bind([Uuid::parse_str(OIDC_JOB)?, Uuid::parse_str(OPEN_JOB)?])
|
||||
.execute(&db)
|
||||
|
||||
Reference in New Issue
Block a user