@Ignore
@Test(timeout = 10000, expected = IllegalArgumentException.class)
public void testFromRegionCode() {

    // if IMDS can't be reached, this test takes >15 seconds
    Region.setInstanceMetadataServiceClientConfig(
            new ClientConfig()
                    .property(ClientProperties.CONNECT_TIMEOUT, 1000)
                    .property(ClientProperties.READ_TIMEOUT, 5000));
    Region.fromRegionCode("unknown");
}