From 59ec797d4f01d406d6f04ec433b2e972e4621059 Mon Sep 17 00:00:00 2001 From: Robert Mosolgo Date: Thu, 24 Oct 2024 13:54:50 -0400 Subject: [PATCH] Remove starting fiber count assertions --- spec/graphql/dataloader_spec.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/graphql/dataloader_spec.rb b/spec/graphql/dataloader_spec.rb index 3c3672ec2a..8cf6fc2763 100644 --- a/spec/graphql/dataloader_spec.rb +++ b/spec/graphql/dataloader_spec.rb @@ -1121,19 +1121,16 @@ def assert_last_max_fiber_count(expected_last_max_fiber_count) res = schema.execute(query_str, context: { dataloader: fiber_counting_dataloader_class.new }) assert_nil res.context.dataloader.fiber_limit - assert_equal 1, FiberCounting.starting_fiber_count assert_equal 12, FiberCounting.last_spawn_fiber_count assert_last_max_fiber_count(9) res = schema.execute(query_str, context: { dataloader: fiber_counting_dataloader_class.new(fiber_limit: 4) }) assert_equal 4, res.context.dataloader.fiber_limit - assert_equal 1, FiberCounting.starting_fiber_count assert_equal 14, FiberCounting.last_spawn_fiber_count assert_last_max_fiber_count(4) res = schema.execute(query_str, context: { dataloader: fiber_counting_dataloader_class.new(fiber_limit: 6) }) assert_equal 6, res.context.dataloader.fiber_limit - assert_equal 1, FiberCounting.starting_fiber_count assert_equal 10, FiberCounting.last_spawn_fiber_count assert_last_max_fiber_count(6) end