Skip to content

Commit

Permalink
Capture logs/dumps from sub packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Sep 27, 2024
1 parent e1e824b commit 8be970a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/single_sdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,6 @@ jobs:
with:
name: Logs - ${{ inputs.use_js_sdk != '' && 'jssdk' || 'rust'}}
path: |
./complement-crypto/tests/logs/*
./complement-crypto/tests/mitm.dump
./complement-crypto/**/logs/*
./complement-crypto/**/mitm.dump
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,5 @@ jobs:
with:
name: Logs - ${{ job.status }}
path: |
./tests/logs/*
./complement-crypto/tests/mitm.dump
./complement-crypto/**/logs/*
./complement-crypto/**/mitm.dump
1 change: 1 addition & 0 deletions tests/membership_acls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func TestAliceBobEncryptionWorks(t *testing.T) {
// Bob receives the message
t.Logf("bob (%s) waiting for event %s", bob.Type(), evID)
waiter.Waitf(t, 5*time.Second, "bob did not see alice's message")
t.Errorf("oh no")
})
})
}
Expand Down
1 change: 1 addition & 0 deletions tests/rust/notification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func testNSEReceive(t *testing.T, numMsgsBefore, numMsgsAfter int) {

// what happens if you receive an NSE event for a non-pre key message (i.e not the first encrypted msg sent by that user)
func TestNSEReceiveForNonPreKeyMessage(t *testing.T) {
t.Errorf("oh dear")
tc, roomID := createAndJoinRoom(t)
// Alice starts syncing
alice := tc.MustLoginClient(t, &cc.ClientCreationRequest{
Expand Down

0 comments on commit 8be970a

Please sign in to comment.