Skip to content

Commit bddb412

Browse files
committed
"making it list remote item false for all the repository for gems"
1 parent 21da70c commit bddb412

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,4 @@ subprojects {
133133
useInMemoryPgpKeys(signingKey, signingPassword)
134134
sign publishing.publications.main
135135
}
136-
137-
configurations {
138-
all {
139-
// Exclude multiple SLF4J implementations to prevent binding conflicts
140-
exclude group: 'org.slf4j', module: 'slf4j-simple'
141-
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
142-
exclude group: 'org.slf4j', module: 'slf4j-jdk14'
143-
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
144-
// Exclude old logging frameworks
145-
exclude group: 'log4j', module: 'log4j'
146-
}
147-
}
148136
}

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ class GemsPackageTypeRepositoryTests extends BaseRepositoryTests {
2323
def settings = new GemsRepositorySettingsImpl()
2424

2525
settings.with {
26-
// remote - Use false for REMOTE repos to prevent rubygems.org indexing that causes locks
27-
if (repositoryType == RepositoryTypeImpl.REMOTE) {
28-
listRemoteFolderItems = false // Prevent background indexing of rubygems.org
29-
} else {
30-
listRemoteFolderItems = rnd.nextBoolean() // Maintain test coverage for other types
31-
}
26+
// Ensure listRemoteFolderItems is false only for Gems tests to avoid indexing issues
27+
listRemoteFolderItems = false
3228
}
3329

3430
return settings

0 commit comments

Comments
 (0)