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

TEST: Fix java.net.spy.memcached.protocol.ascii.BaseOpTest to ensure it tests correctly. #791

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

uhm0311
Copy link
Collaborator

@uhm0311 uhm0311 commented Aug 12, 2024

πŸ”— Related Issue

  • AssertionErrorλŠ” assert문에 μ˜ν•œ μ‹€νŒ¨λ„ 작고 fail() λ©”μ†Œλ“œμ— μ˜ν•œ μ‹€νŒ¨λ„ μž‘λŠ”λ°, μž‘μ•„λ†“μ€ μ‹€νŒ¨κ°€ 무엇인지 ν™•μΈν•˜μ§€ μ•Šκ³  μžˆλ‹€.

⌨️ What I did

  • fail() λ©”μ†Œλ“œμ— μ§„μž…ν•˜μ§€ μ•Šμ•˜μŒμ„ κ²€μ¦ν•©λ‹ˆλ‹€.

@uhm0311 uhm0311 requested review from jhpark816 and removed request for jhpark816 August 12, 2024 07:28
@uhm0311 uhm0311 marked this pull request as draft August 12, 2024 07:30
@uhm0311 uhm0311 requested a review from oliviarla August 12, 2024 07:32
@uhm0311 uhm0311 marked this pull request as ready for review August 12, 2024 07:32
@uhm0311 uhm0311 changed the title TEST: Fix net.spy.memcached.protocol.ascii.BaseOpTest to ensure it tests correctly. TEST: Fix java.net.spy.memcached.protocol.ascii.BaseOpTest to ensure it tests correctly. Aug 12, 2024
@uhm0311
Copy link
Collaborator Author

uhm0311 commented Aug 12, 2024

CI μ‹€νŒ¨λŠ” μœ„ PR이 λ¨Όμ € λ°˜μ˜λ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€.

/**
* Test the basic operation buffer handling stuff.
*/
public class BaseOpTest extends BaseMockCase {

public void testAssertions() {
String message = "Assertions are not enabled.";
AssertionError error = null;
try {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Assertions.assertThrows(AssertionError.class, () -> {assert false;}) 와 같이 λ³€κ²½ν•  수 μžˆλ‚˜μš”? fail() 뢀뢄은 μ œκ±°ν•˜κ³ μš”

@uhm0311 uhm0311 force-pushed the uhm0311/develop5 branch 3 times, most recently from 9481bd8 to d1c9870 Compare August 12, 2024 09:03
@uhm0311 uhm0311 requested a review from oliviarla August 12, 2024 09:03
@uhm0311 uhm0311 requested a review from jhpark816 August 12, 2024 09:18
@jhpark816 jhpark816 merged commit 0bfdbb8 into naver:develop Aug 12, 2024
3 checks passed
@uhm0311 uhm0311 deleted the uhm0311/develop5 branch September 6, 2024 01:48
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.

3 participants