mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-16 04:50:29 -07:00
feat(cli): add experiment gate for event-driven scheduler (#17055)
This commit is contained in:
@@ -855,6 +855,22 @@ describe('Server Config (config.ts)', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('Event Driven Scheduler Configuration', () => {
|
||||
it('should default enableEventDrivenScheduler to false when not provided', () => {
|
||||
const config = new Config(baseParams);
|
||||
expect(config.isEventDrivenSchedulerEnabled()).toBe(false);
|
||||
});
|
||||
|
||||
it('should set enableEventDrivenScheduler to false when provided as false', () => {
|
||||
const params: ConfigParameters = {
|
||||
...baseParams,
|
||||
enableEventDrivenScheduler: false,
|
||||
};
|
||||
const config = new Config(params);
|
||||
expect(config.isEventDrivenSchedulerEnabled()).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('Shell Tool Inactivity Timeout', () => {
|
||||
it('should default to 300000ms (300 seconds) when not provided', () => {
|
||||
const config = new Config(baseParams);
|
||||
|
||||
Reference in New Issue
Block a user