Skip to content

Commit e07fa56

Browse files
adamruzickaofedoren
authored andcommitted
Fixes #38794 - Do not truncate dynflow tables
in JS integration tests. This could cause some tests to randomly fail due to dynflow's records being wiped and dynflow reacting to that by terminating itself, along with the entire process where the tests run.
1 parent bf4c6af commit e07fa56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration_test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def with_controller_caching(*controller_klasses)
392392

393393
class IntegrationTestWithJavascript < ActionDispatch::IntegrationTest
394394
def database_cleaner_strategy
395-
:truncation
395+
[:truncation, except: %w[dynflow_coordinator_records dynflow_schema_info]]
396396
end
397397

398398
def before_setup

0 commit comments

Comments
 (0)