-
Notifications
You must be signed in to change notification settings - Fork 24
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
HPCC4J-594 Add support for skipping tests #710
base: candidate-9.2.x
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
<value>org.hpccsystems.ws.client.TestResultNotifier</value> | ||
</property> | ||
</properties> | ||
<excludesFile>../excluded-tests.txt</excludesFile> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it seems ok to have a single excluded-tests file at the hpcc4j level, but I could also see an argument for dedicated excluded-tests files per sub project. |
||
</configuration> | ||
</plugin> | ||
<plugin> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# See: https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html#multiple-formats-in-one | ||
# Example: | ||
# **/*RampsDevRegressionTest.java |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
<maven.deploy.version>2.8.2</maven.deploy.version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we have a sample entry in the above excluded-tests.txt file? |
||
<maven.install.version>2.5.2</maven.install.version> | ||
<maven.jar.version>3.0.2</maven.jar.version> | ||
<maven.surefire.version>2.22.1</maven.surefire.version> | ||
<maven.surefire.version>3.2.5</maven.surefire.version> | ||
<antlr.version>4.10.1</antlr.version> | ||
<javax.mail.version>1.4</javax.mail.version> | ||
<jsch.version>0.1.54</jsch.version> | ||
|
@@ -213,6 +213,7 @@ | |
<configuration> | ||
<argLine>${argLine}</argLine> | ||
<groups>${groups}</groups> | ||
<excludesFile>excluded-tests.txt</excludesFile> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
|
@@ -433,6 +434,7 @@ | |
<configuration> | ||
<argLine>${argLine}</argLine> | ||
<groups>${groups}</groups> | ||
<excludesFile>excluded-tests.txt</excludesFile> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
|
@@ -485,6 +487,7 @@ | |
<configuration> | ||
<argLine>${argLine}</argLine> | ||
<groups>${groups}</groups> | ||
<excludesFile>excluded-tests.txt</excludesFile> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
|
@@ -560,6 +563,7 @@ | |
<configuration> | ||
<argLine>${argLine}</argLine> | ||
<groups>${groups}</groups> | ||
<excludesFile>excluded-tests.txt</excludesFile> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,11 @@ | |
|
||
import org.hpccsystems.ws.client.wrappers.ArrayOfEspExceptionWrapper; | ||
import org.hpccsystems.ws.client.wrappers.wsdfu.DFUDataColumnWrapper; | ||
import org.junit.Ignore; | ||
import org.junit.Test; | ||
import org.junit.experimental.categories.Category; | ||
|
||
@Ignore | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @drealeed I'd like to integrate these tests into the standard wsclient tests, is there anything RAMPS specific being tested? If so, could you provide ECL to recreate the structures being testsed here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, this was just a way to get a really comprehensive test of all possible record structures; I picked ramps dev because it had a lot of files for the regression test and I had access to it. And at the time the ecl errors occurred reading files from ramps dev so I pointed the test at the previously failing files to make sure they worked now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately the files tested in testFileMetadata() no longer exist. That test can be removed. We have similar tests in tardis for different hpcc ecl structures now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unless those ecl structures are proprietary, I'd like to absorb as many tests as possible. Does it make sense to donate those tests given the fact we can preemptively create the target files via ecl scripts? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @drealeed do you recall how test::wsclient::noecl was created? it seems like an edge case we should continue to test |
||
@Category(org.hpccsystems.commons.annotations.IntegrationTests.class) | ||
public class RampsDevRegressionTest extends EclParseRegressionTest | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's make sure all references to HPCC30117 are removed in code