Skip to content

Refactor test client subscription #58

Refactor test client subscription

Refactor test client subscription #58

GitHub Actions / Test Results failed Sep 15, 2023 in 0s

1 fail, 28 pass in 6s

29 tests  +6   28 ✔️ +5   6s ⏱️ +6s
  3 suites ±0     0 💤 ±0 
  3 files   ±0     1 +1 

Results for commit ddac890. ± Comparison against earlier commit 7bc31c6.

Annotations

Check warning on line 0 in LeanPipe.IntegrationTests.BasicTopicTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

Resubscribing_after_disconnect_works (LeanPipe.IntegrationTests.BasicTopicTests) failed

artifacts/publisher_test_results.zip/_fv-az614-767_2023-09-15_12_17_36.trx [took 0s]
Raw output
System.InvalidOperationException : Already subscribed to topic.   at LeanPipe.TestClient.LeanPipeTestClient.SubscribeAsync[TTopic](TTopic topic, CancellationToken ct) in /home/runner/work/leanpipe/leanpipe/publisher/src/LeanPipe.TestClient/LeanPipeTestClient.cs:line 110
   at LeanPipe.TestClient.LeanPipeTestClientExtensions.SubscribeSuccessAsync[TTopic](LeanPipeTestClient client, TTopic topic, CancellationToken ct) in /home/runner/work/leanpipe/leanpipe/publisher/src/LeanPipe.TestClient/LeanPipeTestClientExtensions.cs:line 16
   at LeanPipe.IntegrationTests.BasicTopicTests.Resubscribing_after_disconnect_works() in /home/runner/work/leanpipe/leanpipe/publisher/test/LeanPipe.IntegrationTests/BasicTopicTests.cs:line 109
--- End of stack trace from previous location ---