Skip to content

Commit

Permalink
Merge branch 'main' of github.com:nats-io/nats.c into lev-KVWatch-sub…
Browse files Browse the repository at this point in the history
…jects
  • Loading branch information
levb committed May 1, 2024
2 parents 518aded + 559c4bc commit b0ad17e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/on-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Nightly"
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '37 4 * * *'

permissions:
contents: write # required by build-test to comment on coverage but not used here.

defaults:
run:
shell: bash --noprofile --norc -x -eo pipefail {0}

jobs:
quick:
name: "DefaultR"
strategy:
fail-fast: false
matrix:
server_version: [main, latest]
uses: ./.github/workflows/build-test.yml
with:
server_version: ${{ matrix.server_version }}
9 changes: 7 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ ignore:
coverage:
precision: 2
round: down
range: "60...75"
range: "60...80"
status:
project:
default:
target: auto
threshold: 10%
threshold: 5%
patch:
default:
target: auto
threshold: 20%
informational: true
github_checks:
annotations: true
comment:
Expand Down
2 changes: 1 addition & 1 deletion test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -32646,7 +32646,7 @@ test_KeyValueMirrorCrossDomains(void)
test("Check mirror syncs: ");
for (i=0; (ok != 2) && (i < 10); i++)
{
if (kvWatcher_Next(&e, w, 1000) == NATS_OK)
if (kvWatcher_Next(&e, w, 10000) == NATS_OK)
{
if (((strcmp(kvEntry_Key(e), "age") == 0) || (strcmp(kvEntry_Key(e), "name") == 0))
&& (kvEntry_Operation(e) == kvOp_Delete))
Expand Down

0 comments on commit b0ad17e

Please sign in to comment.