Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
try fix MSI with App Service
Browse files Browse the repository at this point in the history
  • Loading branch information
saragluna committed Feb 26, 2020
1 parent 0723b19 commit 0ec9400
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import lombok.extern.slf4j.Slf4j;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
Expand Down Expand Up @@ -124,7 +123,6 @@ public void keyVaultAsPropertySourceWithSpecificKeys() {
}

@Test
@Ignore
public void keyVaultWithAppServiceMSI() {
final AppServiceTool appServiceTool = new AppServiceTool(access);

Expand Down Expand Up @@ -156,15 +154,11 @@ public void keyVaultWithAppServiceMSI() {
}
}

SdkContext.sleep(120_000);

// Restart App Service
log.info("restarting app service...");
appService.restart();
log.info("restarting app service finished...");

SdkContext.sleep(120_000);

final String resourceUrl = "https://" + appService.name() + ".azurewebsites.net" + "/get";
// warm up
final ResponseEntity<String> response = curlWithRetry(resourceUrl, 3, 120_000, String.class);
Expand Down

0 comments on commit 0ec9400

Please sign in to comment.