Skip to content

Commit

Permalink
Reduce test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelicii committed Dec 16, 2023
1 parent 3ea2193 commit 49d3d4d
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag-release-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ jobs:
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
58 changes: 53 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,56 @@
build
.allure
# Java
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*
replay_pid*

# Gradle
bin/
build/
.gradle
.idea
*.iws
.gradletasknamecache
gradle-app.setting
!gradle-wrapper.jar

# IntelliJ
out/
.idea/
.idea_modules/
*.iml
*.ipr
out
*.iws

# Eclipse
.settings/
bin/
tmp/
.metadata
.classpath
.project
*.tmp
*.bak
*.swp
*~.nib
local.properties
.loadpath
.factorypath

# NetBeans
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml

# Visual Studio Code
.vscode/
.code-workspace

# OS X
.DS_Store
30 changes: 0 additions & 30 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -199,33 +199,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


-------------------------------------------------------------------------------
This product is derived from the work by MetaCommunications Inc. which is
licenced under the MIT Licence:

/*
* Copyright (c) 2002-2009, MetaCommunications Inc.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
7 changes: 3 additions & 4 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
AllPairs4J
Copyright 2023 Pavel Nazimok - @pavelicii

This product is derived from the work by MetaCommunications Inc.
This product is derived from the work developed by MetaCommunications Inc.
It can be obtained at:

* LICENSE:
* https://sourceforge.net/p/allpairs/code/4/tree/LICENSE.txt (MIT License)
* HOMEPAGE:
* https://sourceforge.net/projects/allpairs/

This product is derived from the work by Tsuyoshi Hombashi.
This product is derived from the work developed by Tsuyoshi Hombashi.
It can be obtained at:

* LICENSE:
* https://github.com/thombashi/allpairspy/blob/master/LICENSE.txt (MIT License)
* HOMEPAGE:
* https://github.com/thombashi/allpairspy

This product contains a modified portion of 'itertools_java', an open source Java library for
efficient generation and iteration over various combinatorial constructs, written by Samagra Sharma.
This product contains a modified portion of 'itertools_java' developed by Samagra Sharma.
It can be obtained at:

* LICENSE:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tasks.register("checkstyle", Checkstyle::class) {
}

dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.assertj:assertj-core:3.24.2")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void shouldGenerateAllPairwiseCasesWithEmptyConstraints() {
}

@Test
@Timeout(value = 10)
@Timeout(value = 5)
void shouldGenerateAllPairwiseCasesForLargeInputWithoutConstraintsAndNotExceedTimeout() {
final AllPairs allPairs = new AllPairs.AllPairsBuilder()
.withParameters(TestData.PARAMETERS_LARGE)
Expand All @@ -120,7 +120,7 @@ void shouldGenerateAllPairwiseCasesForLargeInputWithoutConstraintsAndNotExceedTi
}

@Test
@Timeout(value = 10)
@Timeout(value = 5)
void shouldGenerateAllPairwiseCasesForLargeInputWithConstraintsAndNotExceedTimeout() {
final AllPairs allPairs = new AllPairs.AllPairsBuilder()
.withParameters(TestData.PARAMETERS_LARGE)
Expand Down

0 comments on commit 49d3d4d

Please sign in to comment.