mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Exclude spot price provider tests by default
Exclude these tests from the default gradle test task. However, allow the option of having them included by specifying an optional gradle parameter (-Dtest.pricenode.includeSpotProviderTests=true).
This commit is contained in:
parent
a6a38a1ac1
commit
43cd6e9bf5
@ -497,6 +497,14 @@ configure(project(':pricenode')) {
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
|
||||
// Disabled by default, since spot provider tests include connections to external API endpoints
|
||||
// Can be enabled by adding -Dtest.pricenode.includeSpotProviderTests=true to the gradle command:
|
||||
// ./gradlew test -Dtest.pricenode.includeSpotProviderTests=true
|
||||
if (System.properties['test.pricenode.includeSpotProviderTests'] != 'true') {
|
||||
project.logger.lifecycle('Pricenode: Skipping spot provider tests')
|
||||
exclude 'bisq/price/spot/providers/**'
|
||||
}
|
||||
}
|
||||
|
||||
task stage {
|
||||
|
Loading…
Reference in New Issue
Block a user