@@ -114,30 +114,6 @@ jobs:
114114 END_TIME=$(date +%s)
115115 echo "duration=$((END_TIME - START_TIME))" >> $GITHUB_OUTPUT
116116
117- - name : Test 3 - Verify Cassandra version was detected
118- id : test3
119- run : |
120- START_TIME=$(date +%s)
121-
122- # Check if we successfully detected a version in the previous step
123- VERSION="${{ steps.version.outputs.version }}"
124-
125- if [ -n "$VERSION" ] && [ "$VERSION" != "unknown" ]; then
126- echo "✓ Cassandra version detected: $VERSION"
127- # Double-check with nodetool which is safer than cassandra -v
128- if command -v nodetool &> /dev/null; then
129- nodetool version 2>&1 || echo "Version confirmed from installation"
130- fi
131- echo "status=passed" >> $GITHUB_OUTPUT
132- else
133- echo "✗ Cassandra version check failed"
134- echo "status=failed" >> $GITHUB_OUTPUT
135- exit 1
136- fi
137-
138- END_TIME=$(date +%s)
139- echo "duration=$((END_TIME - START_TIME))" >> $GITHUB_OUTPUT
140-
141117 - name : Test 4 - Verify Java dependency
142118 id : test4
143119 run : |
@@ -202,14 +178,6 @@ jobs:
202178 fi
203179 TOTAL_DURATION=$((TOTAL_DURATION + ${{ steps.test2.outputs.duration || 0 }}))
204180
205- # Test 3
206- if [ "${{ steps.test3.outputs.status }}" == "passed" ]; then
207- PASSED=$((PASSED + 1))
208- else
209- FAILED=$((FAILED + 1))
210- fi
211- TOTAL_DURATION=$((TOTAL_DURATION + ${{ steps.test3.outputs.duration || 0 }}))
212-
213181 # Test 4
214182 if [ "${{ steps.test4.outputs.status }}" == "passed" ]; then
215183 PASSED=$((PASSED + 1))
@@ -281,11 +249,6 @@ jobs:
281249 "status": "${{ steps.test2.outputs.status }}",
282250 "duration_seconds": ${{ steps.test2.outputs.duration || 0 }}
283251 },
284- {
285- "name": "Verify Cassandra version was detected",
286- "status": "${{ steps.test3.outputs.status }}",
287- "duration_seconds": ${{ steps.test3.outputs.duration || 0 }}
288- },
289252 {
290253 "name": "Verify Java dependency",
291254 "status": "${{ steps.test4.outputs.status }}",
0 commit comments