Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(profiling): more tests for libdd and stack_v2 #11679

Merged
merged 35 commits into from
Dec 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
032363e
copy test_scheduler
taegyunkim Dec 11, 2024
994672f
test_profiler
taegyunkim Dec 11, 2024
d00e82a
test_main
taegyunkim Dec 11, 2024
511192e
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 11, 2024
4456429
test_accuracy with libdd
taegyunkim Dec 11, 2024
1dcf6cc
test_accuracy with v2
taegyunkim Dec 11, 2024
25ca1ca
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 11, 2024
51231c2
test_main with stackv2
taegyunkim Dec 11, 2024
2db4da2
test collect_truncate
taegyunkim Dec 11, 2024
5316839
test_ignore_profiler_gevent_task
taegyunkim Dec 11, 2024
99abe90
typo
taegyunkim Dec 11, 2024
490a2b0
fix test
taegyunkim Dec 11, 2024
d5814c6
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 11, 2024
12f56f7
pass env directly instead of using monkeypatch
taegyunkim Dec 11, 2024
96b207c
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 12, 2024
79009bf
skip 3.7 for stack_v2_enabled
taegyunkim Dec 12, 2024
47fbb41
skip 3.7 for stack_v2_enabled
taegyunkim Dec 12, 2024
1eaf699
skip 3.7 for stack_v2_enabled
taegyunkim Dec 12, 2024
222d3e7
proper skipif
taegyunkim Dec 12, 2024
6d7556b
proper skipif
taegyunkim Dec 12, 2024
2d2cf94
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 17, 2024
3e68211
update almost_equal
taegyunkim Dec 19, 2024
017f545
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 19, 2024
968abc1
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 19, 2024
252f1d9
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 19, 2024
6c61aa0
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 19, 2024
bd1de30
use 5% tolerance
taegyunkim Dec 19, 2024
f9e7f36
remove import
taegyunkim Dec 19, 2024
3efc185
revert to monotonic_ns
taegyunkim Dec 19, 2024
ab7769b
process_time_ns
taegyunkim Dec 19, 2024
f5842b3
mark to skip
taegyunkim Dec 19, 2024
1cfc03d
adjust tolerance
taegyunkim Dec 19, 2024
819910b
Merge branch 'main' into taegyunkim/prof-10736-copy-tests
taegyunkim Dec 20, 2024
fdb2c30
fix failing test
taegyunkim Dec 20, 2024
e6750cc
increase tolerance
taegyunkim Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mark to skip
  • Loading branch information
taegyunkim committed Dec 19, 2024

Verified

This commit was signed with the committer’s verified signature.
commit f5842b3eef23f4bbd6cfc72b131e811a8a709327
2 changes: 2 additions & 0 deletions tests/profiling_v2/test_main.py
Original file line number Diff line number Diff line change
@@ -36,6 +36,8 @@ def test_call_script(stack_v2_enabled):
def test_call_script_gevent(stack_v2_enabled):
if sys.version_info[:2] == (3, 7) and stack_v2_enabled:
pytest.skip("stack_v2 is not supported on Python 3.7")
if sys.version_info[:2] == (3, 8) and stack_v2_enabled:
pytest.skip("this test is flaky on 3.8 with stack v2")
env = os.environ.copy()
env["DD_PROFILING_ENABLED"] = "1"
env["DD_PROFILING_STACK_V2_ENABLED"] = "1" if stack_v2_enabled else "0"
Loading