dd-trace-rb icon indicating copy to clipboard operation
dd-trace-rb copied to clipboard

Fix flaky spec with redis database index

Open TonyCTHsu opened this issue 3 years ago • 0 comments

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.

TonyCTHsu avatar Oct 13 '22 13:10 TonyCTHsu