@@ -21,7 +21,7 @@ if (is_nc_coretest) {
2121 setup_options = { should_run_iam : true , https_port_iam : 7005 , debug : 5 } ;
2222}
2323coretest . setup ( setup_options ) ;
24- const { rpc_client, EMAIL , get_current_setup_options, stop_nsfs_process, start_nsfs_process } = coretest ;
24+ const { rpc_client, get_current_setup_options, stop_nsfs_process, start_nsfs_process } = coretest ;
2525
2626let iam_account ;
2727let account_res ;
@@ -32,6 +32,7 @@ mocha.describe('IAM advanced integration tests', async function() {
3232
3333 mocha . before ( async ( ) => {
3434 // we want to make sure that we run this test with a couple of forks (by default setup it is 0)
35+ const email = 'test-account@noobaa.io' ;
3536 if ( is_nc_coretest ) {
3637 config_root = path . join ( TMP_PATH , 'test_nc_iam' ) ;
3738 // on NC - new_buckets_path is full absolute path
@@ -47,12 +48,12 @@ mocha.describe('IAM advanced integration tests', async function() {
4748 }
4849 await fs_utils . create_fresh_path ( new_bucket_path_param ) ;
4950 await fs_utils . file_must_exist ( new_bucket_path_param ) ;
50- account_res = await generate_nsfs_account ( rpc_client , EMAIL , new_bucket_path_param , { admin : true } ) ;
51+ account_res = await generate_nsfs_account ( rpc_client , email , new_bucket_path_param , { admin : false } ) ;
5152 } else {
5253 // test are running from an account (not admin)
5354 const account = await rpc_client . account . create_account ( {
54- name : " test-account" ,
55- email : "test-account@noobaa.io" ,
55+ name : ' test-account' ,
56+ email : email ,
5657 has_login : false ,
5758 s3_access : true ,
5859 } ) ;
0 commit comments