Andy Ford

Results 16 issues of Andy Ford

Handles the situation whereby an endpoint returns 204 that caused paginatedresource to throw an error. This does not check for the body actually being empty, but at least handles the...

When running the emulator on GitHub Actions (macos-latest), we occasionally get an error of `Timeout waiting for emulator to boot`. This is probably around 25-30% of test runs that we...

When the channel is removed from the channel map as part of release(), a call to detach is also made. This call does not necessarily complete before the call to...

bug

`RSC18` requires that trying to use basic authentication with TLS turned off should result in an error, enforced at the SDK level. At the moment, we do not enforce this...

bug
breaking

``` io.ably.lib.test.realtime.RealtimeSuite > io.ably.lib.test.realtime.ConnectionManagerTest.channels_are_reattached_after_reconnecting_when_statettl_plus_idleinterval_has_passed[text_protocol] FAILED java.lang.AssertionError: Attached channel histories do not match expected: but was: at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:118) at io.ably.lib.test.realtime.ConnectionManagerTest.channels_are_reattached_after_reconnecting_when_statettl_plus_idleinterval_has_passed(ConnectionManagerTest.java:[76](https://github.com/ably/ably-java/actions/runs/5002602977/jobs/8962757509#step:3:77)4) ``` ┆Issue is synchronized with this [Jira...

testing
failing-test

``` io.ably.lib.test.realtime.RealtimeSuite > io.ably.lib.test.realtime.RealtimeChannelTest.attach_when_channel_in_detaching_state[text_protocol] FAILED java.lang.AssertionError: Expected: is but: was at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.junit.Assert.assertThat(Assert.java:956) at org.junit.Assert.assertThat(Assert.java:923) at io.ably.lib.test.realtime.RealtimeChannelTest.attach_when_channel_in_detaching_state(RealtimeChannelTest.java:1070) ``` ┆Issue is synchronized with this [Jira Task](https://ably.atlassian.net/browse/ECO-4191) by [Unito](https://www.unito.io)

testing
failing-test

``` io.ably.lib.test.realtime.RealtimeSuite > io.ably.lib.test.realtime.RealtimeChannelTest.channel_resume_lost_continuity[text_protocol] FAILED java.lang.AssertionError: Verify channel was attached expected: but was: at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:118) at io.ably.lib.test.realtime.RealtimeChannelTest.channel_resume_lost_continuity(RealtimeChannelTest.java:1629) ``` ┆Issue is synchronized with this [Jira Task](https://ably.atlassian.net/browse/ECO-4189) by...

testing
failing-test

``` io.ably.lib.test.realtime.RealtimeSuite > io.ably.lib.test.realtime.RealtimeConnectFailTest.connect_token_expire_inplace_reauth[binary_protocol] FAILED java.lang.AssertionError: Verify token generation was called at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at io.ably.lib.test.realtime.RealtimeConnectFailTest.connect_token_expire_inplace_reauth(RealtimeConnectFailTest.java:302) ``` ┆Issue is synchronized with this [Jira Task](https://ably.atlassian.net/browse/ECO-4188) by [Unito](https://www.unito.io)

testing
failing-test

https://github.com/ably/ably-java/blob/9786de65bd44c2f139a53ee235535cb7617cbc87/lib/src/main/java/io/ably/lib/util/EventEmitter.java#L41 The two implementations of EventEmitter.on() prevents the same listener from being registered multiple times (and thus being invoked multiple times per event). It should allow this to happen as...

bug

In a situation where the library reaches the `connected` state and the transport almost immediately fails, it can lead to a race condition whereby the connection state is permanently in...

bug