File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
android/src/androidTest/java/io/ably/lib/test/android Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 35
35
api-level : ${{ matrix.android-api-level }}
36
36
emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
37
37
disable-animations : true
38
- script : |
39
- ./gradlew :android:connectedAndroidTest
40
- adb logcat -d
38
+ script : ./gradlew :android:connectedAndroidTest || adb logcat -d
41
39
42
40
- uses : actions/upload-artifact@v3
43
41
if : always()
Original file line number Diff line number Diff line change 6
6
import android .content .IntentFilter ;
7
7
import android .os .Build ;
8
8
import android .preference .PreferenceManager ;
9
+ import android .support .test .filters .SdkSuppress ;
9
10
import android .support .test .runner .AndroidJUnit4 ;
10
11
import android .util .Log ;
11
12
import androidx .localbroadcastmanager .content .LocalBroadcastManager ;
@@ -981,8 +982,8 @@ protected void setUpMachineState(TestCase testCase) throws AblyException {
981
982
982
983
// RSH3d3
983
984
@ Test
985
+ @ SdkSuppress (minSdkVersion =21 )
984
986
public void WaitingForNewPushDeviceDetails_on_GotPushDeviceDetails () throws Exception {
985
- assumeTrue ("Can only run on API Level 21 or newer because HttpURLConnection does not support PATCH" , Build .VERSION .SDK_INT >= 21 );
986
987
new UpdateRegistrationTest () {
987
988
@ Override
988
989
protected void setUpMachineState (TestCase testCase ) throws AblyException {
You can’t perform that action at this time.
0 commit comments