Skip to content

Commit 1602ba5

Browse files
committed
test: test [run-int-tests]
1 parent 7075179 commit 1602ba5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

integration_tests/test_poller_integration.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -420,29 +420,29 @@ def setup_small_walk_with_full_walk_enabled(request):
420420
},
421421
}
422422
update_profiles(profile)
423-
update_file([f"{trap_external_ip},,2c,public,,,20,walk1,f,"], "inventory.yaml")
423+
update_file([f"{trap_external_ip},,2c,public,,,1810,walk1,f,"], "inventory.yaml")
424424
upgrade_helm(["inventory.yaml", "profiles.yaml"])
425425
time.sleep(30)
426426
yield
427-
update_file([f"{trap_external_ip},,2c,public,,,20,walk1,f,t"], "inventory.yaml")
427+
update_file([f"{trap_external_ip},,2c,public,,,1810,walk1,f,t"], "inventory.yaml")
428428
upgrade_helm(["inventory.yaml"])
429429
time.sleep(20)
430430

431431

432432
@pytest.mark.usefixtures("setup_small_walk_with_full_walk_enabled")
433433
class TestSmallWalkWithFullWalkEnabled:
434434
def test_check_if_full_walk_is_done_with_profile_set(self, setup_splunk):
435-
time.sleep(20)
435+
time.sleep(30)
436436
search_string = (
437-
"""| mpreview index=netmetrics earliest=-20s | search "TCP-MIB" """
437+
"""| mpreview index=netmetrics earliest=-30s | search "TCP-MIB" """
438438
)
439439
result_count, metric_count = run_retried_single_search(
440440
setup_splunk, search_string, 1
441441
)
442442
assert result_count > 0
443443
assert metric_count > 0
444444
search_string = (
445-
"""| mpreview index=netmetrics earliest=-20s | search "IP-MIB" """
445+
"""| mpreview index=netmetrics earliest=-30s | search "IP-MIB" """
446446
)
447447
result_count, metric_count = run_retried_single_search(
448448
setup_splunk, search_string, 2

0 commit comments

Comments
 (0)