Skip to content

MINOR: replace by org.junit.jupiter.api.Tag by net.jqwik.api.Tag for …#10791

Merged
chia7712 merged 1 commit into
apache:trunkfrom
chia7712:MINOR-10791
Jun 1, 2021
Merged

MINOR: replace by org.junit.jupiter.api.Tag by net.jqwik.api.Tag for …#10791
chia7712 merged 1 commit into
apache:trunkfrom
chia7712:MINOR-10791

Conversation

@chia7712

Copy link
Copy Markdown
Member

The command ./gradlew raft:integrationTest can't run any integration test since org.junit.jupiter.api.Tag does not work for jqwik engine (see jqwik-team/jqwik#36 (comment)).

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@chia7712 chia7712 requested review from hachikuji and ijuma May 29, 2021 08:16
@ijuma

ijuma commented May 29, 2021

Copy link
Copy Markdown
Member

Good catch. The build definition doesn't require changes to mention this annotation?

@chia7712

Copy link
Copy Markdown
Member Author

The build definition doesn't require changes to mention this annotation?

The doc (https://jqwik.net/docs/current/user-guide.html#tagging-tests) explains how to tag a test but it does not mention the package of this annotation. I filed a PR for that (jqwik-team/jqwik#193)

@ijuma

ijuma commented May 31, 2021

Copy link
Copy Markdown
Member

I was asking if our build has to change. Looks like it's string based, so it doesn't?

https://github.com/apache/kafka/blob/trunk/build.gradle#L404

Have we tested?

@chia7712

chia7712 commented Jun 1, 2021

Copy link
Copy Markdown
Member Author

I was asking if our build has to change. Looks like it's string based, so it doesn't?

Sorry for my incorrect response :(

Have we tested?

yes.

BEFORE
截圖 2021-06-01 下午12 32 25

AFTER
截圖 2021-06-01 下午12 35 03

@ijuma ijuma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@chia7712 chia7712 merged commit f426a72 into apache:trunk Jun 1, 2021
@chia7712 chia7712 deleted the MINOR-10791 branch March 25, 2024 15:21
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.

2 participants