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

[WFLY-16190] FilesystemRealmEncryptedTestCase fails when run from a bootable jar #15699

Merged
merged 1 commit into from Jun 28, 2022

Conversation

Ashpan
Copy link
Contributor

@Ashpan Ashpan commented Jun 24, 2022

@@ -0,0 +1,150 @@
/*
* JBoss, Home of Professional Open Source.
* Copyright 2020, Red Hat Middleware LLC, and individual contributors
Copy link
Contributor

Choose a reason for hiding this comment

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

2022 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

import org.junit.runner.RunWith;

/**
* Full authentication tests for Elytron Encrypted Filesystem Realm.
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is testing the wrong secret key case specifically, it would be good to update the description here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@RunWith(Arquillian.class)
@RunAsClient
@ServerSetup({FilesystemRealmEncryptedSecretKeyTestCase.SetUpTask.class})
public class FilesystemRealmEncryptedSecretKeyTestCase {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would also be good to update the class name to something like FilesystemRealmEncryptedWrongSecretKeyTestCase.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@Ashpan Ashpan force-pushed the WFLY-16190 branch 2 times, most recently from ce0db63 to 1c0f02a Compare June 24, 2022 20:42
@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Jun 24, 2022
@Ashpan Ashpan force-pushed the WFLY-16190 branch 2 times, most recently from a22a0e5 to 97ff84c Compare June 25, 2022 05:51
@bstansberry bstansberry changed the title [WFLY-16190] FilesystemRealmEncryptedTestCase fails when run from a bFilesystemRealmEncryptedTestCase fails when run from a bootable jar [WFLY-16190] FilesystemRealmEncryptedTestCase fails when run from a bootable jar Jun 26, 2022
@bstansberry
Copy link
Contributor

@Ashpan This isn't required for this to be merged, but if you need to update this branch for some other reason please correct the commit message to remove the duplicate text.

@Ashpan
Copy link
Contributor Author

Ashpan commented Jun 28, 2022

@bstansberry I don't see any duplicated text on the commit message, I only saw it on the title of this PR, which you already fixed.

@fjuma fjuma merged commit 03d2eb4 into wildfly:main Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes
Projects
None yet
3 participants