Skip to content

Conversation

@abhilash-sivan
Copy link
Contributor

@abhilash-sivan abhilash-sivan commented Nov 6, 2025

Splitted redist rests into 3 subtests:

  • redis/default_test
  • redis/cluster_test
  • redis/sentinel_test

Checks

10 groups for database

9 groups for database

@abhilash-sivan abhilash-sivan force-pushed the test-split-resis branch 3 times, most recently from b5eb3d0 to 825f479 Compare November 7, 2025 07:10
@abhilash-sivan abhilash-sivan marked this pull request as ready for review November 7, 2025 07:10
@abhilash-sivan abhilash-sivan requested a review from a team as a code owner November 7, 2025 07:10
Copy link
Contributor

@aryamohanan aryamohanan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we duplicating all the tests across these three files? If so IMO, that’s not a good approach, it’ll make adding or maintaining tests in the future much more difficult.

@abhilash-sivan
Copy link
Contributor Author

Are we duplicating all the tests across these three files? If so IMO, that’s not a good approach, it’ll make adding or maintaining tests in the future much more difficult.

Yes, I agree... removed duplicates now

Copy link
Contributor

@aryamohanan aryamohanan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow

@abhilash-sivan abhilash-sivan force-pushed the test-split-resis branch 3 times, most recently from c9bad7b to 30901c0 Compare November 7, 2025 14:49
Copy link
Contributor

@kirrg001 kirrg001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All database test groups (1-10) run the same tests now?

packages/collector/test/tracing/databases/redis/cluster_test.js
packages/collector/test/tracing/databases/redis/default_test.js
packages/collector/test/tracing/databases/redis/sentinel_test.js

See latest build.

@abhilash-sivan
Copy link
Contributor Author

All database test groups (1-10) run the same tests now?

packages/collector/test/tracing/databases/redis/cluster_test.js
packages/collector/test/tracing/databases/redis/default_test.js
packages/collector/test/tracing/databases/redis/sentinel_test.js

See latest build.

No, it's not!!

split-7 cluster_test.js exclusively
split-8 default_test.js exclusively
split-9 sentinel_test.js exclusively

other splits: other database tests
ps: split-2 has ioredis, but not exclusive; it has elasticsearch also.

Please confirm

@kirrg001
Copy link
Contributor

Yeah you are right, these are the modified files. My bad 🛁

@sonarqubecloud
Copy link

Copy link
Contributor

@kirrg001 kirrg001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👍

@abhilash-sivan abhilash-sivan merged commit 982ad93 into main Nov 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants