Commit ea0244a
committed
[yugabyte#27526] Docdb: Test. Fix flakieness in PgMiniTestTracing.Tracing seen in tsan
Summary:
a0e6d55 refactored PgMiniTestTracing.Tracing to make it a parameterized
test, and in the process set the flag `enable_tracing=true`. Setting the flag to `true` is not necessary
and makes the test flaky in slow tests.
Slow tests (with enable_tracing set to true) may cause unrelated rpcs traces to get logged,
This makes the test flacky as the test expects that the latest trace dumped has to be a certain size.
Setting `enable_tracing` to `false` prevents the flakieness as only the rpcs originating from the
session in the test will log the traces.
Jira: DB-17087
Test Plan:
Jenkins: test regex: PgMiniTestTracing/PgMiniTestTracing.Tracing/*
yb_buid.sh --cxx-test pgwrapper_pg_mini-test --gtest_filter PgMiniTestTracing/PgMiniTestTracing.Tracing/*
Reviewers: bkolagani, rthallam
Reviewed By: bkolagani
Subscribers: ybase, yql
Differential Revision: https://phorge.dev.yugabyte.com/D445981 parent 988a83c commit ea0244a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
| 556 | + | |
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| |||
0 commit comments