File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
services/src/test/groovy/org/jfrog/artifactory/client Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2929 uses : actions/checkout@v4
3030 with :
3131 ref : ${{ github.event.pull_request.head.sha }}
32+
33+ - name : Set unique Artifactory home
34+ run : echo "ARTIFACTORY_HOME=$(mktemp -d)" >> $GITHUB_ENV
35+
3236 - name : Setup Go with cache
3337 uses : jfrog/.github/actions/install-go-with-cache@main
3438
5559 done
5660 echo "Artifactory did not start in time"
5761 exit 1
58-
62+
5963 - name : Run tests
6064 run : ./gradlew${{ matrix.gradlewSuffix }} clean test
Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ class GemsPackageTypeRepositoryTests extends BaseRepositoryTests {
2222 RepositorySettings getRepositorySettings (RepositoryType repositoryType ) {
2323 def settings = new GemsRepositorySettingsImpl ()
2424
25- // Only set listRemoteFolderItems for remote repositories such that no indexing happens
26- if (repositoryType == org.jfrog.artifactory.client.model.impl.RepositoryTypeImpl . REMOTE ) {
27- settings . listRemoteFolderItems = false
25+ settings . with {
26+ // remote
27+ listRemoteFolderItems = rnd . nextBoolean()
2828 }
29+
2930 return settings
3031 }
3132
You can’t perform that action at this time.
0 commit comments