From 0930e610ecf747bb6947f87e5b6db99ae99920f2 Mon Sep 17 00:00:00 2001 From: Tobias Weber Date: Wed, 8 Jan 2025 18:41:52 +0100 Subject: [PATCH] Fix test --- .../db/workflow/engine/scheduler/GlobalSchedulerTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/workflow-engine/src/test/java/org/polypheny/db/workflow/engine/scheduler/GlobalSchedulerTest.java b/plugins/workflow-engine/src/test/java/org/polypheny/db/workflow/engine/scheduler/GlobalSchedulerTest.java index a6a2739430..2a3e606afa 100644 --- a/plugins/workflow-engine/src/test/java/org/polypheny/db/workflow/engine/scheduler/GlobalSchedulerTest.java +++ b/plugins/workflow-engine/src/test/java/org/polypheny/db/workflow/engine/scheduler/GlobalSchedulerTest.java @@ -271,7 +271,6 @@ void variableWritingTest() throws Exception { void concurrentActivityExecutionTest() throws Exception { int nBranches = 10; int delay = 1000; - assert nBranches <= GlobalScheduler.GLOBAL_WORKERS; Workflow workflow = WorkflowUtils.getParallelBranchesWorkflow( nBranches, delay, nBranches ); List ids = WorkflowUtils.getTopologicalActivityIds( workflow ); @@ -288,7 +287,6 @@ void concurrentActivityExecutionTest() throws Exception { void concurrentWorkflowExecutionTest() throws Exception { int nWorkflows = 10; int delay = 1000; - assert nWorkflows <= GlobalScheduler.GLOBAL_WORKERS; List workflows = new ArrayList<>(); List storageManagers = new ArrayList<>();