Skip to content

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Nov 22, 2024
1 parent ed5cd7e commit f3d2942
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,22 @@ jobs:
working-directory: java/jars
run: |
for file in bundle*.jar; do jar xf $file; done
- name: tcpdump
run: |
if ${{ matrix.host.OS == 'ubuntu' }}; then
sudo apt install tcpdump
else
sudo brew install tcpdump
fi
sudo tcpdump -i lo -w dump.pcap &
- name: Build java client
working-directory: java
run: ./gradlew --continue build -x javadoc
run: ./gradlew :integTest:test --tests '*.*password*'

- name: Ensure no skipped files by linter
working-directory: java
run: ./gradlew spotlessDiagnose | grep 'All formatters are well behaved for all files'

- uses: ./.github/workflows/test-benchmark
if: ${{ matrix.engine.version == '8.0' && matrix.host.RUNNER == 'ubuntu-latest' && matrix.java == '17' }}
with:
language-flag: -java
- name: tcpdump
run: sudo pkill tcpdump

- name: Upload test & spotbugs reports
if: always()
Expand All @@ -135,6 +138,7 @@ jobs:
with:
name: test-reports-java-${{ matrix.java }}-${{ matrix.engine.type }}-${{ matrix.engine.version }}-${{ matrix.host.RUNNER }}
path: |
dump.pcap
java/client/build/reports/**
java/integTest/build/reports/**
utils/clusters/**
Expand Down
4 changes: 2 additions & 2 deletions java/integTest/src/test/java/glide/TestConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public final class TestConfiguration {
public static final boolean TLS = Boolean.parseBoolean(System.getProperty("test.server.tls", ""));

static {
Logger.init(Logger.Level.OFF);
Logger.setLoggerConfig(Logger.Level.OFF);
Logger.init(Logger.Level.TRACE);
Logger.setLoggerConfig(Logger.Level.TRACE);
try {
BaseClient client =
!STANDALONE_HOSTS[0].isEmpty()
Expand Down

0 comments on commit f3d2942

Please sign in to comment.