Skip to content

Commit f815c7d

Browse files
committed
"check with new implementation"
1 parent 3b01c28 commit f815c7d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

services/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dependencies {
88
implementation addSlf4J('log4j-over-slf4j')
99
implementation addSlf4J('jcl-over-slf4j')
1010
implementation 'commons-io:commons-io:2.17.0'
11+
implementation 'org.slf4j:slf4j-simple:2.0.9'
1112
testImplementation group: 'org.hamcrest', name: 'hamcrest-core', version: '2.2'
1213
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
1314
/*

services/src/test/groovy/org/jfrog/artifactory/client/BaseRepositoryTests.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ abstract class BaseRepositoryTests extends ArtifactoryTestsBase {
174174

175175
@AfterMethod
176176
protected void tearDown() {
177-
// Invoking sequence is important!
178-
deleteRepoIfExists(genericRepo?.getKey())
179-
deleteRepoIfExists(localRepo?.getKey())
180-
deleteRepoIfExists(remoteRepo?.getKey())
177+
// Invoking sequence is important! Delete in reverse dependency order
178+
deleteRepoIfExists(virtualRepo?.getKey()) // Delete virtual repo first (depends on generic)
181179
deleteRepoIfExists(federatedRepo?.getKey())
182-
deleteRepoIfExists(virtualRepo?.getKey())
180+
deleteRepoIfExists(remoteRepo?.getKey())
181+
deleteRepoIfExists(localRepo?.getKey())
182+
deleteRepoIfExists(genericRepo?.getKey()) // Delete generic repo last (after dependents)
183183
repoUniqueId++
184184
}
185185

services/src/test/groovy/org/jfrog/artifactory/client/TerraformPackageTypeRepositoryTests.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class TerraformPackageTypeRepositoryTests extends BaseRepositoryTests {
1515

1616
TerraformPackageTypeRepositoryTests() {
1717
remoteRepoUrl = "https://github.com"
18+
storeArtifactsLocallyInRemoteRepo = true
1819
}
1920

2021
@Override

0 commit comments

Comments
 (0)