mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-07-22 05:17:11 +01:00
Disable most tests while sorting out account setup. Add debug tracing.
This commit is contained in:
+4
-2
@@ -135,12 +135,14 @@ async function createCosmosClientForSQLAccount(
|
||||
|
||||
const rbacToken =
|
||||
accountType === TestAccount.SQL
|
||||
// ? getNoSqlRbacToken()
|
||||
? process.env.NOSQL_TESTACCOUNT_TOKEN
|
||||
? // ? getNoSqlRbacToken()
|
||||
process.env.NOSQL_TESTACCOUNT_TOKEN
|
||||
: accountType === TestAccount.SQLContainerCopyOnly
|
||||
? process.env.NOSQL_CONTAINERCOPY_TESTACCOUNT_TOKEN
|
||||
: "";
|
||||
|
||||
console.log(`DEBUG: RBAC Token: ${rbacToken ? "Present" : "Not Present"}`);
|
||||
|
||||
if (rbacToken) {
|
||||
clientOptions.tokenProvider = async (): Promise<string> => {
|
||||
const AUTH_PREFIX = `type=aad&ver=1.0&sig=`;
|
||||
|
||||
Reference in New Issue
Block a user