Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
self-hosted-runner:
labels:
- blacksmith-4vcpu-ubuntu-2404
- evalops-agent-pm-rbe
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
lint:
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -30,7 +30,7 @@ jobs:
run: uv run ruff check .

typecheck:
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -49,7 +49,7 @@ jobs:
run: uv run mypy agent_pm

storage-tests:
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -71,7 +71,7 @@ jobs:
DRY_RUN: "true"

test:
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
9 changes: 7 additions & 2 deletions tests/test_connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,13 @@ async def test_periodic_sync_manager_executes_jobs(monkeypatch):
manager._jobs[0].interval_seconds = 0.1 # speed up test

await manager.start()
await asyncio.sleep(0.35)
await manager.stop()
try:
for _ in range(20):
if connector.calls >= 2:
break
await asyncio.sleep(0.05)
finally:
await manager.stop()

assert connector.calls >= 2

Expand Down
Loading