dd-trace-rb
dd-trace-rb copied to clipboard
Fix flaky spec with redis database index
What does this PR do?
Fix redis database index in spec
Motivation
The flaky spec in introduced from https://github.com/DataDog/dd-trace-rb/pull/2274
The redis connection would fire select db command when switching database, since 0 is the default database for redis, the db select span would be skipped, hence leading to flakiness.