Skip to content

Commit

Permalink
build: add 'timeConsuming' test set (#15371)
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
  • Loading branch information
jjohannes authored Sep 6, 2024
1 parent 13d015b commit 48a3b14
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Copyright (C) 2022-2024 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* 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.
*/

plugins { id("java") }

// Tests that could be in the default "test" set but take more than 100ms to execute.
@Suppress("UnstableApiUsage")
testing.suites {
register<JvmTestSuite>("timeConsuming") {
testType = "timing-consuming"
targets.all {
testTask {
group = "build"
maxHeapSize = "4g"
}
}
}
}
1 change: 1 addition & 0 deletions platform-sdk/swirlds-logging/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ plugins {
id("com.hedera.gradle.platform-publish")
id("com.hedera.gradle.feature.benchmark")
id("com.hedera.gradle.feature.test-fixtures")
id("com.hedera.gradle.feature.test-time-consuming")
id("com.hedera.gradle.feature.test-timing-sensitive")
}

Expand Down

0 comments on commit 48a3b14

Please sign in to comment.