@gooddata/fixtures
Advanced tools
Comparing version 1.32.24 to 1.32.25
@@ -8,3 +8,2 @@ // (C) 2022 GoodData Corporation | ||
const stringify = require('json-stable-stringify'); | ||
const { retryOperation } = require('./utils'); | ||
@@ -46,7 +45,2 @@ const WORKSPACE_SEPARATOR = ' -- '; | ||
async function ensureWSCreated(sdkTiger, wsId) { | ||
Logger.logLn(`ensure ws is created: ${wsId}`); | ||
await sdkTiger.entities.getEntityWorkspaces({ id: wsId }); | ||
} | ||
async function createTigerWorkspace(workspaceTitle, token, host, backend, parentWorkspaceId) { | ||
@@ -80,6 +74,2 @@ const sdkTiger = getTigerBackendSdk(token, host, backend); | ||
Logger.logLn(`created workspace ${workspaceResponse.data.data.id}`); | ||
await retryOperation(() => ensureWSCreated(sdkTiger, `${workspaceResponse.data.data.id}`)); | ||
return workspaceResponse.data.data.id; | ||
@@ -86,0 +76,0 @@ } |
{ | ||
"name": "@gooddata/fixtures", | ||
"version": "1.32.24", | ||
"version": "1.32.25", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
310118132
14395