Skip to content

Commit 4f09326

Browse files
committed
Increase native sampling time
1 parent e831b33 commit 4f09326

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_profiling/test_sampling_profiler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ def test_sample_target_script(self):
18951895
script_file.flush()
18961896
self.addCleanup(close_and_unlink, script_file)
18971897

1898-
test_args = ["profiling.sampling.sample", "-d", "1", script_file.name]
1898+
test_args = ["profiling.sampling.sample", "-d", "4", script_file.name]
18991899

19001900
with (
19011901
mock.patch("sys.argv", test_args),
@@ -1928,7 +1928,7 @@ def test_sample_target_module(self):
19281928
with open(module_path, "w") as f:
19291929
f.write(self.test_script)
19301930

1931-
test_args = ["profiling.sampling.sample", "-d", "1", "-m", "test_module"]
1931+
test_args = ["profiling.sampling.sample", "-d", "4", "-m", "test_module"]
19321932

19331933
with (
19341934
mock.patch("sys.argv", test_args),
@@ -1960,7 +1960,7 @@ def test_sample_no_native_no_gc(self):
19601960
script_file.flush()
19611961
self.addCleanup(close_and_unlink, script_file)
19621962

1963-
test_args = ["profiling.sampling.sample", "-d", "1", "--no-native", "--no-gc", script_file.name]
1963+
test_args = ["profiling.sampling.sample", "-d", "4", "--no-native", "--no-gc", script_file.name]
19641964

19651965
with (
19661966
mock.patch("sys.argv", test_args),

0 commit comments

Comments
 (0)