Skip to content

Commit

Permalink
fix: ignore interrupted exception in tests (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
saranyailla authored Jun 3, 2024
1 parent 132bf74 commit b24dda4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,9 @@ void GIVEN_device_sync_enabled_WHEN_local_update_THEN_syncs_shadow_to_cloud(Stri
}

@Test
void GIVEN_device_sync_not_enabled_WHEN_local_update_THEN_does_not_sync_shadow_to_cloud() throws InterruptedException, IOException, IoTDataPlaneClientCreationException {
void GIVEN_device_sync_not_enabled_WHEN_local_update_THEN_does_not_sync_shadow_to_cloud(ExtensionContext context)
throws InterruptedException, IOException, IoTDataPlaneClientCreationException {
ignoreExceptionOfType(context, InterruptedException.class);
JsonNode cloudDocument = JsonUtil.getPayloadJson(cloudShadowContentV1.getBytes(UTF_8)).get();

startNucleusWithConfig(NucleusLaunchUtilsConfig.builder()
Expand Down

0 comments on commit b24dda4

Please sign in to comment.