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

FMWK-439 Find by "enum in" fails with AerospikeException Parameter error #741

Merged
merged 19 commits into from
May 19, 2024

Conversation

agrgr
Copy link

@agrgr agrgr commented May 16, 2024

  • fix for 'findByIn' with a single element list
  • rename Person's property 'sex' to 'gender'

@agrgr agrgr added the bug label May 16, 2024
@agrgr agrgr requested review from roimenashe and reugn May 16, 2024 08:31
@agrgr agrgr marked this pull request as ready for review May 16, 2024 12:22
@@ -42,11 +44,22 @@
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.springframework.data.aerospike.sample.SampleClasses.VersionedClass;

@TestInstance(TestInstance.Lifecycle.PER_CLASS)
public class AerospikeTemplateInsertTests extends BaseBlockingIntegrationTests {

@BeforeEach
public void beforeEach() {
template.deleteAll(Person.class);
Copy link
Member

Choose a reason for hiding this comment

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

Reuse beforeEach and afterAll deleteAlls (since they are identical), can add a private method cleanUp()

@agrgr agrgr merged commit 2658de3 into main May 19, 2024
7 checks passed
@agrgr agrgr deleted the FMWK-439-findByIn-singleElementList branch May 19, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants