mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-23 15:45:13 +00:00
* fix(tests): apply integration worker limits to forks Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> * fix(tests): keep no-AK integration gate at two fork workers (#8689) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> --------- Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> Co-authored-by: qwen-code-ci-bot <25325202+qwen-code-ci-bot@users.noreply.github.com> Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com>
19 lines
571 B
TypeScript
19 lines
571 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2026 Qwen Team
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import { describe, expect, it } from 'vitest';
|
|
import integrationConfig from '../../integration-tests/vitest.config.js';
|
|
|
|
describe('integration Vitest config', () => {
|
|
it('limits the forks pool used by integration tests', () => {
|
|
expect(integrationConfig.test?.pool).toBe('forks');
|
|
expect(integrationConfig.test?.poolOptions?.forks).toEqual({
|
|
minForks: 2,
|
|
maxForks: 4,
|
|
});
|
|
expect(integrationConfig.test?.poolOptions?.threads).toBeUndefined();
|
|
});
|
|
});
|