Skip to content

Commit

Permalink
Remove skipOnFailureCount
Browse files Browse the repository at this point in the history
  • Loading branch information
David Turanski committed Apr 7, 2020
1 parent f48c6ef commit bb2ee67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 0 additions & 2 deletions scripts/tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ Flags:
-p | --platform - define the target platform to run, defaults to local
-b | --binder - define the binder (i.e. RABBIT, KAFKA) defaults to RABBIT
--tests - comma separated list of tests to run. Wildcards such as *http* are allowed (e.g. --tests TickTockTests#tickTockTests)
--rerunFailingTestsCount - the number of times to rerun failing tests (default is 1)
--skipAfterFailureCount - skip after number of tests fail (default is 1)
-cc | --skipCloudConfig - skip Cloud Config server tests for CF
-se | --schedulesEnabled - run scheduling tests.
-dv | --dataflowVersion - set the dataflow client version to the same as the dataflow server (e.g. 2.5.0.BUILD-SNAPSHOT)
Expand Down
13 changes: 1 addition & 12 deletions scripts/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Flags:
-p | --platform - define the target platform to run, defaults to local
-b | --binder - define the binder (i.e. RABBIT, KAFKA) defaults to RABBIT
--tests - comma separated list of tests to run. Wildcards such as *http* are allowed (e.g. --tests TickTockTests#tickTockTests)
--rerunFailingTestsCount - the number of times to rerun failing tests (default is 1)
--skipAfterFailureCount - skip after number of tests fail (default is 1)
-cc | --skipCloudConfig - skip Cloud Config server tests for CF
-se | --schedulesEnabled - run scheduling tests.
-dv | --dataflowVersion - set the dataflow client version to the same as the dataflow server (e.g. 2.5.0.BUILD-SNAPSHOT)
Expand All @@ -39,8 +37,7 @@ function run_tests() {

log_skipper_versions

eval "./mvnw -B -Dspring.profiles.active=blah -Dtest=$TESTS -Dsurefire.rerunFailingTestsCount=$rerunFailingTestsCount \\
-Dsurefire.skipAfterFailureCount=$skipAfterFailureCount -DPLATFORM_TYPE=$PLATFORM -DNAMESPACE=$KUBERNETES_NAMESPACE \\
eval "./mvnw -B -Dspring.profiles.active=blah -Dtest=$TESTS -DPLATFORM_TYPE=$PLATFORM -DNAMESPACE=$KUBERNETES_NAMESPACE \\
-Ddataflow.version=$DATAFLOW_VERSION -DSKIP_CLOUD_CONFIG=$skipCloudConfig test surefire-report:report"
}

Expand Down Expand Up @@ -85,14 +82,6 @@ case ${key} in
TESTS="$2"
shift
;;
--skipAfterFailureCount)
skipAfterFailureCount="$2"
shift
;;
--rerunFailingTestsCount)
rerunFailingTestsCount="$2"
shift
;;
-cc|--skipCloudConfig)
skipCloudConfig="true"
;;
Expand Down

0 comments on commit bb2ee67

Please sign in to comment.