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

added KnownIssue category, annotated known issues #365

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.apache.commons.lang3.RandomStringUtils;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.hal.testsuite.category.KnownIssue;
import org.jboss.hal.testsuite.category.Shared;
import org.jboss.hal.testsuite.creaper.ManagementClientProvider;
import org.jboss.hal.testsuite.creaper.ResourceVerifier;
Expand Down Expand Up @@ -171,6 +172,7 @@ public void invalidXADatasource() {
}

@Test
@Category(KnownIssue.class)
public void testValidXAConnectionInWizardAndCancel() throws Exception {
datasourcesPage.invokeAddXADatasource();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.dmr.ModelNode;
import org.jboss.hal.testsuite.category.Elytron;
import org.jboss.hal.testsuite.category.KnownIssue;
import org.jboss.hal.testsuite.creaper.ResourceVerifier;
import org.jboss.hal.testsuite.dmr.ModelNodeGenerator;
import org.jboss.hal.testsuite.fragment.ConfigFragment;
Expand Down Expand Up @@ -291,6 +292,7 @@ public void testEditJACCPolicy() throws Exception {
}

@Test
@Category(KnownIssue.class)
public void testEditJACCPolicySingleAttribute() throws Exception {
final String jaccPolicyName = randomAlphabetic(7);
final String defaultModuleName = policyModuleName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.jboss.arquillian.drone.api.annotation.Drone;
import org.jboss.arquillian.graphene.page.Page;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.hal.testsuite.category.KnownIssue;
import org.jboss.hal.testsuite.category.Standalone;
import org.jboss.hal.testsuite.creaper.ManagementClientProvider;
import org.jboss.hal.testsuite.creaper.command.DeployCommand;
Expand Down Expand Up @@ -391,6 +392,7 @@ public void medExplodedDeploymentFlagFalseInViewInfoSuccessExpected() {
}

@Test
@Category(KnownIssue.class)
public void medExplodedDeploymentFlagTrueInViewInfoSuccessExpected() {
page.navigateToDeploymentAndInvokeView(DEPLOYMENT_MANAGED_ENABLED_8);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.jboss.arquillian.graphene.page.Page;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.dmr.ModelNode;
import org.jboss.hal.testsuite.category.KnownIssue;
import org.jboss.hal.testsuite.category.Shared;
import org.jboss.hal.testsuite.creaper.ManagementClientProvider;
import org.jboss.hal.testsuite.creaper.ResourceVerifier;
Expand Down Expand Up @@ -121,6 +122,7 @@ public static void afterClass() throws Exception {
* the connection factory and verify against management model that displayed statistics have changed correctly.
*/
@Test
@Category(KnownIssue.class)
public void jmsXaPoolStatisticsTest() throws Exception {
generateStats();
page.navigateToDefaultProviderStats().switchToPooledConnectionFactory()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.jboss.hal.testsuite.category;

public interface KnownIssue {
}
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,15 @@
</properties>
</profile>

<profile>
<id>withoutKnownIssues</id>
<properties>
<test.excluded.category>
Copy link
Member

Choose a reason for hiding this comment

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

There seems to be conflict of test.excluded.category property between noSecurity and withoutKnownIssues profiles. If you use them both it would be IMO overwritten.

org.jboss.hal.testsuite.category.KnownIssue
</test.excluded.category>
</properties>
</profile>

</profiles>

<build>
Expand Down