MCPcopy Index your code
hub / github.com/scality/cloudserver / randomUserName

Function randomUserName

tests/functional/scripts/ensureServiceUser.js:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36});
37
38function randomUserName() {
39 return `ensure-service-user-test-${crypto.randomBytes(4).toString('hex')}`;
40}
41
42function runScript(userName) {
43 return execFileAsync('node', [script, 'apply', userName, '--iam-endpoint', iamEndpoint], {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected