Skip to content

Conversation

robfrank
Copy link
Collaborator

What does this PR do?

Adds test that uses Toxiporxy to simulate network problems

Motivation

redesign HA tests using containers

Related issues

#2043

Checklist

  • I have run the build using mvn clean package command
  • My unit tests cover both failure and success scenarios

@robfrank robfrank added this to the 25.3.2 milestone Mar 13, 2025
@robfrank robfrank self-assigned this Mar 13, 2025
@robfrank robfrank added the enhancement New feature or request label Mar 13, 2025
@robfrank robfrank marked this pull request as draft March 13, 2025 09:46
Copy link

codacy-production bot commented Mar 13, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-3.19% 25.35%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (75fec88) 72872 46256 63.48%
Head commit (9526d1c) 72891 (+19) 43941 (-2315) 60.28% (-3.19%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#2062) 359 91 25.35%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

checkDatabaseIsOpen();
stats.commands.incrementAndGet();

return (ResultSet) databaseCommand("command", language, command, params, true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you setting false = not require a leader? This means the operation will go to any server, but if it's an update (query is idempotent) will bounce to the leader in 2 passes

@robfrank robfrank force-pushed the feature/2043-ha-test branch from c12ede7 to 697f2fc Compare March 20, 2025 12:53
@robfrank robfrank force-pushed the feature/2043-ha-test branch from 697f2fc to 2832b8f Compare March 24, 2025 15:45
@lvca lvca modified the milestones: 25.3.2, 25.4.1 Mar 24, 2025
@robfrank robfrank force-pushed the feature/2043-ha-test branch from 2832b8f to db7bd83 Compare April 10, 2025 10:14
@robfrank robfrank modified the milestones: 25.4.1, 25.5.1 Apr 22, 2025
@robfrank robfrank force-pushed the feature/2043-ha-test branch from db7bd83 to 5f527f2 Compare May 3, 2025 10:19
@robfrank robfrank added the do not merge The PR is not ready label May 3, 2025
@robfrank robfrank marked this pull request as ready for review May 3, 2025 13:50
@robfrank robfrank force-pushed the feature/2043-ha-test branch 5 times, most recently from af3014c to 73b2324 Compare May 10, 2025 07:00
@robfrank robfrank force-pushed the feature/2043-ha-test branch from e287b3b to 7dad934 Compare May 11, 2025 11:52
@robfrank robfrank force-pushed the feature/2043-ha-test branch 3 times, most recently from 369a5b8 to 9777a56 Compare May 14, 2025 06:40
@robfrank robfrank force-pushed the feature/2043-ha-test branch from 9777a56 to f82c3af Compare May 18, 2025 20:10
@robfrank robfrank force-pushed the feature/2043-ha-test branch from f82c3af to aea3728 Compare May 29, 2025 21:21
@lvca lvca removed this from the 25.5.1 milestone May 30, 2025
@robfrank robfrank force-pushed the feature/2043-ha-test branch from 9cbd9f6 to 19a7849 Compare October 3, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge The PR is not ready enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants