Skip to content

Commit

Permalink
chore: report failures on daily builds
Browse files Browse the repository at this point in the history
Signed-off-by: kostas <[email protected]>
  • Loading branch information
kostasrim committed Jan 21, 2025
1 parent 986ef7c commit 19408ea
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/daily-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,16 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/build
ctest -V -L DFLY
- name: Send notifications on failure
if: failure() && github.ref == 'refs/heads/main'
shell: bash
run: |
job_link="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
message="Daily builds failed.\\n Job Link: ${job_link}\\n"
curl -s \
-X POST \
-H 'Content-Type: application/json' \
'${{ secrets.GSPACES_BOT_DF_BUILD }}' \
-d '{"text": "'"${message}"'"}'
1 change: 1 addition & 0 deletions tests/dragonfly/cluster_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2072,6 +2072,7 @@ async def test_cluster_migration_huge_container(df_factory: DflyInstanceFactory)
assert extract_int_after_prefix("buckets on_db_update ", line) == 0


@pytest.mark.exclude_epoll
@dfly_args({"proactor_threads": 2, "cluster_mode": "yes"})
@pytest.mark.parametrize("chunk_size", [1_000_000, 30])
@pytest.mark.asyncio
Expand Down
1 change: 1 addition & 0 deletions tests/dragonfly/generic_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ async def test_reply_guard_oom(df_factory, df_seeder_factory):
assert info["evicted_keys"] > 0, "Weak testcase: policy based eviction was not triggered."


@pytest.mark.exclude_epoll
@pytest.mark.asyncio
async def test_denyoom_commands(df_factory):
df_server = df_factory.create(proactor_threads=1, maxmemory="256mb", oom_deny_commands="get")
Expand Down

0 comments on commit 19408ea

Please sign in to comment.