Unstable tests (#7487)

Setup unstable tests
This commit is contained in:
Amir Omidi
2019-10-02 22:01:17 -07:00
committed by GitHub
parent 575d1c8543
commit 6582debd73
10 changed files with 55 additions and 12 deletions

View File

@@ -130,6 +130,10 @@ process.env[ENVAR_RUN_PYSPARK_TEST] = '0';
const promises = [];
// Open up a web browser to the login page so the user doesn't have to copy the URL manually
const start = (process.platform == 'darwin'? 'open': process.platform == 'win32'? 'start': 'xdg-open');
child_process.exec(`${start} https://microsoft.com/devicelogin`);
// Fetch the values from AKV
msrestAzure.interactiveLogin().then((credentials) => {
const client = new KeyVault.KeyVaultClient(credentials);