From 4c6da1eaf96ab7c2625e5353ab31de9d0714a8eb Mon Sep 17 00:00:00 2001 From: Abhi <43648792+abhipatel12@users.noreply.github.com> Date: Wed, 24 Sep 2025 17:17:13 -0400 Subject: [PATCH] feat(integration): Force single model for more determinisitic e2e tests (#9278) --- integration-tests/test-helper.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration-tests/test-helper.ts b/integration-tests/test-helper.ts index e928cbe45f..63362fc257 100644 --- a/integration-tests/test-helper.ts +++ b/integration-tests/test-helper.ts @@ -9,6 +9,7 @@ import { mkdirSync, writeFileSync, readFileSync } from 'node:fs'; import { join, dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; import { env } from 'node:process'; +import { DEFAULT_GEMINI_MODEL } from '../packages/core/src/config/models.js'; import fs from 'node:fs'; import * as pty from '@lydell/node-pty'; @@ -152,6 +153,7 @@ export class TestRig { otlpEndpoint: '', outfile: telemetryPath, }, + model: DEFAULT_GEMINI_MODEL, sandbox: env.GEMINI_SANDBOX !== 'false' ? env.GEMINI_SANDBOX : false, ...options.settings, // Allow tests to override/add settings };