Skip to content

Commit

Permalink
Add an --idle_timeout test
Browse files Browse the repository at this point in the history
This is expected to fail, until #727 lands.
  • Loading branch information
mostynb committed Jan 4, 2024
1 parent 742958a commit 59a1337
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/idle_timer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: idle-timer
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
idletimer:
name: idle-timer
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.21.5'
- uses: actions/checkout@v3
- name: build bazel-remote
run: ./linux-build.sh
- name: run with idle-timeout 1m
run: for i in {1..20}; do sleep 1 ; curl --head --fail http://127.0.0.1:8080/cas/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ; done & ./bazel-remote --dir DATA --max_size 1 --idle_timeout 20s

0 comments on commit 59a1337

Please sign in to comment.