Skip to content

Instantly share code, notes, and snippets.

@igrishaev
Created January 2, 2025 15:00
Show Gist options
  • Select an option

  • Save igrishaev/70366cfc9a21b96df4fa29ee5becaf88 to your computer and use it in GitHub Desktop.

Select an option

Save igrishaev/70366cfc9a21b96df4fa29ee5becaf88 to your computer and use it in GitHub Desktop.
Test Summary
pg.client-test 334 ms
test-client-test-poll-updates 95 ms
Tested 1 namespaces in 334 ms
Ran 20 assertions, in 5 test functions
5 failures
3 errors
cider-test-fail-fast: t
Results
pg.client-test
8 non-passing tests:
Fail in test-client-test-poll-updates
PORT 10120
expected: [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
actual: []
diff: - [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
+ nil
Error in test-client-test-poll-updates
PORT 10130
expected: (false? (pg/poll-updates conn2))
error: org.pg.error.PGError: unexpected message in pollUpdates: CommandComplete[command=LISTEN]
Fail in test-client-test-poll-updates
PORT 10130
expected: [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
actual: []
diff: - [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
+ nil
Error in test-client-test-poll-updates
PORT 10140
expected: (false? (pg/poll-updates conn2))
error: org.pg.error.PGError: unexpected message in pollUpdates: CommandComplete[command=LISTEN]
Fail in test-client-test-poll-updates
PORT 10140
expected: [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
actual: []
diff: - [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
+ nil
Fail in test-client-test-poll-updates
PORT 10150
expected: [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
actual: []
diff: - [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
+ nil
Error in test-client-test-poll-updates
PORT 10160
expected: (false? (pg/poll-updates conn2))
error: org.pg.error.PGError: unexpected message in pollUpdates: CommandComplete[command=LISTEN]
Fail in test-client-test-poll-updates
PORT 10160
expected: [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
actual: []
diff: - [{:channel "test",
:msg :NotificationResponse,
:self? false,
:message "hello"}]
+ nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment