@@ -24,7 +24,7 @@ def test_engine_initialization(tmp_path):
2424 with open (config_file , "w" ) as f :
2525 yaml .dump (config_content , f )
2626
27- engine = Engine (str (config_file ))
27+ engine = Engine (str (config_file ), watch_configuration_changes = False )
2828 assert isinstance (engine .config , Configuration )
2929 assert engine .config .collector .suricata .enable is True
3030 assert engine .config .collector .nf_stream .enable is False
@@ -52,7 +52,7 @@ def test_engine_start(mock_enrich_init, mock_file_start, mock_enrich_start, mock
5252 with open (config_file , "w" ) as f :
5353 yaml .dump (config_content , f )
5454
55- engine = Engine (str (config_file ))
55+ engine = Engine (str (config_file ), watch_configuration_changes = False )
5656 engine .start ()
5757
5858 assert mock_suricata_start .called
@@ -79,7 +79,7 @@ def test_engine_stop(mock_stop_processing, tmp_path):
7979 with open (config_file , "w" ) as f :
8080 yaml .dump (config_content , f )
8181
82- engine = Engine (str (config_file ))
82+ engine = Engine (str (config_file ), watch_configuration_changes = False )
8383 engine .stop ()
8484 assert mock_stop_processing .called
8585
@@ -94,7 +94,7 @@ def test_engine_reload(mock_setup, mock_load, mock_start, mock_stop, tmp_path):
9494 with open (config_file , "w" ) as f :
9595 yaml .dump (config_content , f )
9696
97- engine = Engine (str (config_file ))
97+ engine = Engine (str (config_file ), watch_configuration_changes = False )
9898 engine .reload ()
9999
100100 assert mock_stop .called
0 commit comments