Skip to content

Commit 4bd15b1

Browse files
committed
Bug 37417886 - Build: .NET: LoadBalancerTests failure
[git-p4: depot-paths = "//dev/main.net/": change = 115446]
1 parent 0b65863 commit 4bd15b1

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,25 +99,31 @@ jobs:
9999
- name: Start test server
100100
run: |
101101
pushd tests/test-server
102-
mvn --batch-mode -e exec:exec -s .mvn/settings.xml -Drevision=${{ matrix.coherence_version }} -Dcoherence.groupid=com.oracle.coherence.ce -Dmain=com.tangosol.net.DefaultCacheServer &
102+
mvn --batch-mode -e exec:exec -s .mvn/settings.xml -Drevision=${{ matrix.coherence_version }} -Dcoherence.groupid=com.oracle.coherence.ce -Dmain=com.tangosol.net.DefaultCacheServer -Dexec.args="-Dcoherence.log=DefaultCacheServer.log -cp %classpath com.tangosol.net.DefaultCacheServer" &
103103
sleep 30
104104
popd
105105
106106
# Start test server
107107
- name: Start test server
108108
run: |
109109
pushd tests/test-server
110-
mvn --batch-mode -e exec:exec -s .mvn/settings.xml -Drevision=${{ matrix.coherence_version }} -Dcoherence.groupid=com.oracle.coherence.ce -Dmain=com.tangosol.net.DefaultCacheServer -Dexec.args="-Dtangosol.coherence.proxy.port=12345 -Dcoherence.proxy.port1=3001 -Dtangosol.coherence.proxy.port5=3002 -Dtangosol.coherence.proxy.port4=3003 -Dtangosol.coherence.proxy.port2=3004 -Dtangosol.coherence.proxy.port11=3005 -Dtangosol.coherence.proxy.port12=3006 -Dtangosol.coherence.proxy.port7=3007 -Dtangosol.coherence.proxy.port9=3008 -Dtangosol.coherence.proxy.port8=3009 -Dcoherence.management=all -cp %classpath com.tangosol.net.DefaultCacheServer" &
110+
mvn --batch-mode -e exec:exec -s .mvn/settings.xml -Drevision=${{ matrix.coherence_version }} -Dcoherence.groupid=com.oracle.coherence.ce -Dmain=com.tangosol.net.DefaultCacheServer -Dexec.args="-Dcoherence.log=DefaultCacheServer2.log -Dtangosol.coherence.proxy.port=12345 -Dcoherence.proxy.port1=3001 -Dtangosol.coherence.proxy.port5=3002 -Dtangosol.coherence.proxy.port4=3003 -Dtangosol.coherence.proxy.port2=3004 -Dtangosol.coherence.proxy.port11=3005 -Dtangosol.coherence.proxy.port12=3006 -Dtangosol.coherence.proxy.port7=3007 -Dtangosol.coherence.proxy.port9=3008 -Dtangosol.coherence.proxy.port8=3009 -Dcoherence.management=all -cp %classpath com.tangosol.net.DefaultCacheServer" &
111111
sleep 30
112112
popd
113113
114-
# Run Tests
114+
# Run Tests with .net 6
115115
- name: Run Tests
116-
run: dotnet test --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
116+
run: dotnet test --framework net6.0 --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
117+
118+
# Run Tests with .net 8
119+
- name: Run Tests 8
120+
run: dotnet test --framework net8.0 --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
117121

118122
# Capture server log for diagnosing failures
119123
- name: Capture test logs
124+
if: ${{ always() }}
120125
uses: actions/upload-artifact@v4
121126
with:
122-
name: build-output
123-
path: build\**\*.log
127+
name: build-output-${{ matrix.coherence_version }}
128+
path: |
129+
tests/**/*.log

0 commit comments

Comments
 (0)