Skip to content

Commit

Permalink
Increase timeout and upload test reports when build failed
Browse files Browse the repository at this point in the history
  • Loading branch information
zhicwu committed May 10, 2022
1 parent 4748b8a commit 1bf60d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -42,6 +42,7 @@ jobs:
- clickhouse: "21.8"
protocol: grpc
fail-fast: false
timeout-minutes: 45
name: Build against ClickHouse ${{ matrix.clickhouse }} (${{ matrix.protocol }})
steps:
- name: Check out Git repository
Expand Down Expand Up @@ -90,3 +91,11 @@ jobs:
- name: Build
run: |
mvn --batch-mode --update-snapshots -Drelease -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=${{ matrix.protocol }} verify
- name: Upload test results
uses: actions/upload-artifact@v2
if: failure()
with:
name: result ${{ github.job }}
path: |
**/target/failsafe-reports
**/target/surefire-reports
Expand Up @@ -204,7 +204,7 @@ public void testWriteBytes() throws Exception {

@Test(groups = { "unit" })
public void testPipedStream() throws Exception {
final int timeout = 10000;
final int timeout = 60000;
ExecutorService executor = Executors.newFixedThreadPool(2);
for (int bufferSize = -1; bufferSize < 10; bufferSize++) {
for (int queueLength = -1; queueLength < 10; queueLength++) {
Expand Down

0 comments on commit 1bf60d7

Please sign in to comment.