Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java: Update transaction handling and IT #1284

Merged
merged 9 commits into from
May 10, 2024

Conversation

Yury-Fridlyand
Copy link
Collaborator

Issue #, if available:
N/A

Description of changes:

  • Group commands in transaction IT.
  • Ease transaction IT updating and fixing.
  • Rename keys and values used in transaction IT to ease debugging.
  • Rename CommandManager transaction related methods.
  • Add number of commands missed in transaction IT.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

* Ease transaction IT updating and fixing.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Fix test and command manager.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* SPOTLESS I HATE YOU

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Copy from #165.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Revert some refactoring.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Fix IT.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Revert timeout change.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* SPOTLESS I HATE YOU

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Group commands in transaction IT.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Refresh

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Test fixes.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Fix for redis 6.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
…ansaction_IT

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
…ansaction_IT

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@Yury-Fridlyand Yury-Fridlyand requested review from GumpacG and tjzhang-BQ and removed request for alex-arzola-imp and SanHalacogluImproving May 2, 2024 03:31
@barshaul
Copy link
Contributor

barshaul commented May 2, 2024

@Yury-Fridlyand any updates? CI is failing

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@Yury-Fridlyand
Copy link
Collaborator Author

Fixed

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@barshaul
Copy link
Contributor

barshaul commented May 5, 2024

@shohamazon Can you please review?

…ansaction_IT

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@Yury-Fridlyand
Copy link
Collaborator Author

CI failure will be fixed by merging amazon-contributing/redis-rs#143

.pexpire(genericKey1, 42, ExpireOptions.NEW_EXPIRY_GREATER_THAN_CURRENT)
.pexpireAt(genericKey1, 42, ExpireOptions.HAS_NO_EXPIRY);
}
// TODO add BZMPOP from #194 here
Copy link
Member

@shohamazon shohamazon May 9, 2024

Choose a reason for hiding this comment

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

why? its a sorted set command

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh, it is copy-paste artifact

Copy link
Member

@shohamazon shohamazon left a comment

Choose a reason for hiding this comment

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

nice work!

@shohamazon
Copy link
Member

CI failure will be fixed by merging amazon-contributing/redis-rs#143

be sure to not merge before CI is green :)

…ansaction_IT

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@Yury-Fridlyand Yury-Fridlyand merged commit 0e1708a into aws:main May 10, 2024
12 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the java/integ_yuryf_transaction_IT branch May 10, 2024 00:45
avifenesh pushed a commit that referenced this pull request May 14, 2024
* Update transaction handling and IT (#160)
* Ease transaction IT updating and fixing.


Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java issues and fixes related to the java client testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants