Skip to content

Commit 7debbe5

Browse files
committed
Update ftest
1 parent 1eb3d70 commit 7debbe5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/maven-push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on: [push]
2424
jobs:
2525
build:
2626
name: Build and push
27-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-24.04
2828
env:
2929
MAVEN_OPTS: "-Xmx4096m -Xms2048m -XX:MaxMetaspaceSize=4096m -Xss8m"
3030
SKIP_NPM_CONFIG: false

.github/workflows/maven-verify.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on: [pull_request]
2424
jobs:
2525
verify:
2626
name: verify with maven
27-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-24.04
2828
if: ${{ github.event_name != 'push' }}
2929
env:
3030
MAVEN_OPTS: "-Xmx4096m -Xms2048m -XX:MaxMetaspaceSize=4096m -Xss8m"

ftests/core/src/main/java/org/commonjava/indy/jaxrs/ContentBrowseHeadRequestTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public void run() {
7979
HttpHead httpNpmHeadSubReq = new HttpHead(REMOTE_NPM_TEST_SUB_URL);
8080
HttpResources npmSubResponse = client.execute(httpNpmHeadSubReq);
8181
assertThat(200, is(npmSubResponse.getStatusCode()));
82+
assertNotNull( npmSubResponse.getStatusCode() );
8283

8384

8485

0 commit comments

Comments
 (0)