Skip to content

Commit

Permalink
Changed port for more robusts tests && improved ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
bbambozzi committed Feb 6, 2024
1 parent 688280e commit 1ddf9e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/commit-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
java-version: '21'
cache: 'maven'

- name: Run tests
run: ./mvnw test

- name: Build with Maven
run: ./mvnw clean install

- name: Run tests
run: ./mvnw test

- name: Code vulnerability scanning
uses: anchore/scan-action@v3
id: scan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public class ClientQueriesStandaloneSariDB {
.builder()
.isEmbedded(false)
.reconstruct(false)
.portNumber(1338)
.portNumber(5789)
.build();
sariDB.start();
this.socket = new Socket("localhost", 1338);
this.socket = new Socket("localhost", 5789);
this.client = new SariDBClient(socket.getInputStream(), socket.getOutputStream());
}

Expand Down

0 comments on commit 1ddf9e9

Please sign in to comment.