mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 03:45:46 -06:00
fix: prevent cron and gateway stress-run timeouts (#115241)
* fix: make cron and gateway stress tests deterministic * test: update focused agent project expectations * fix: preserve focused agent glob isolation
This commit is contained in:
committed by
GitHub
parent
1a13bc5c54
commit
2aa79e4aaa
@@ -97,7 +97,7 @@ describe("test-projects args", () => {
|
||||
it("keeps split test entries in their owner configs", () => {
|
||||
expect(buildVitestRunPlans(["src/agents/openai-transport-stream.base.test.ts"])).toEqual([
|
||||
{
|
||||
config: "test/vitest/vitest.agents.config.ts",
|
||||
config: "test/vitest/vitest.agents-core.config.ts",
|
||||
forwardedArgs: [],
|
||||
includePatterns: ["src/agents/openai-transport-stream.base.test.ts"],
|
||||
watchMode: false,
|
||||
@@ -116,7 +116,7 @@ describe("test-projects args", () => {
|
||||
it("expands a test filename prefix into standalone sibling suites", () => {
|
||||
expect(buildVitestRunPlans(["src/agents/openai-transport-stream"])).toEqual([
|
||||
{
|
||||
config: "test/vitest/vitest.agents.config.ts",
|
||||
config: "test/vitest/vitest.agents-core.config.ts",
|
||||
forwardedArgs: [],
|
||||
includePatterns: [
|
||||
"src/agents/openai-transport-stream.base.test.ts",
|
||||
@@ -373,10 +373,10 @@ describe("test-projects args", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("routes agents targets to the agents config", () => {
|
||||
it("routes agent tool targets to the agents-tools config", () => {
|
||||
expect(buildVitestRunPlans(["src/agents/tools/image-tool.test.ts"])).toEqual([
|
||||
{
|
||||
config: "test/vitest/vitest.agents.config.ts",
|
||||
config: "test/vitest/vitest.agents-tools.config.ts",
|
||||
forwardedArgs: [],
|
||||
includePatterns: ["src/agents/tools/image-tool.test.ts"],
|
||||
watchMode: false,
|
||||
|
||||
Reference in New Issue
Block a user