mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
org id fix for load test
This commit is contained in:
@@ -11,9 +11,13 @@ const client = createClient(endpoint)
|
||||
|
||||
export const setup = () => {
|
||||
const basicAuthClient = createBasicAuthClient(endpoint, 'admin', 'admin');
|
||||
createTestOrgIfNotExists(basicAuthClient);
|
||||
const orgId = createTestOrgIfNotExists(basicAuthClient);
|
||||
const datasourceId = createTestdataDatasourceIfNotExists(basicAuthClient);
|
||||
return {datasourceId: datasourceId};
|
||||
client.withOrgId(orgId);
|
||||
return {
|
||||
orgId: orgId,
|
||||
datasourceId: datasourceId,
|
||||
};
|
||||
}
|
||||
|
||||
export default (data) => {
|
||||
|
||||
Reference in New Issue
Block a user