Skip to content

Commit f3ec6eb

Browse files
committed
NC | Test Files | Remove nsfs From File Name and Update Docs
Signed-off-by: shirady <57721533+shirady@users.noreply.github.com>
1 parent 9d26ed0 commit f3ec6eb

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

docs/NooBaaNonContainerized/CI&Tests.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ The following is a list of `NC jest tests` files -
9898
1. `test_nc_account_invalid_mkm_integration.test.js` - Tests NC invalid master key manager scenarios.
9999
2. `test_nc_master_keys.test.js` - Tests NC master key manager (store type = file).
100100
3. `test_nc_master_keys_exec.test.js` - Tests NC master key manager (store type = executable).
101-
4. `test_nc_nsfs_bucket_cli.test.js` - Tests NooBaa CLI bucket commands.
101+
4. `test_nc_bucket_cli.test.js` - Tests NooBaa CLI bucket commands.
102102
5. `test_nc_account_cli.test.js` - Tests NooBaa CLI account commands.
103-
6. `test_nc_nsfs_anonymous_cli.test.js` - Tests NooBaa CLI anonymous account commands.
103+
6. `test_nc_anonymous_cli.test.js` - Tests NooBaa CLI anonymous account commands.
104104
7. `test_nc_nsfs_config_schema_validation.test.js` - Tests NC config.json schema validation.
105105
8. `test_nc_nsfs_bucket_schema_validation.test.js` - Tests NC bucket schema validation.
106106
9. `test_nc_nsfs_account_schema_validation.test.js` - Tests NC account schema validation.
@@ -114,6 +114,7 @@ The following is a list of `NC jest tests` files -
114114
17. `test_nc_upgrade_manager.test.js` - Tests of the NC upgrade manager.
115115
18. `test_cli_upgrade.test.js` - Tests of the upgrade CLI commands.
116116
19. `test_nc_online_upgrade_cli_integrations.test.js` - Tests CLI commands during mocked config directory upgrade.
117+
20. `test_nc_connection_cli.test.js` - Tests NooBaa CLI connection commands.
117118

118119
#### nc_index.js File
119120
* The `nc_index.js` is a file that runs several NC and NSFS mocha related tests.

src/test/unit_tests/jest_tests/test_nc_account_cli.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const { TYPES, ACTIONS, ANONYMOUS } = require('../../../manage_nsfs/manage_nsfs_
1818
const ManageCLIError = require('../../../manage_nsfs/manage_nsfs_cli_errors').ManageCLIError;
1919
const ManageCLIResponse = require('../../../manage_nsfs/manage_nsfs_cli_responses').ManageCLIResponse;
2020

21-
const tmp_fs_path = path.join(TMP_PATH, 'test_nc_nsfs_account_cli');
21+
const tmp_fs_path = path.join(TMP_PATH, 'test_nc_account_cli');
2222
const timeout = 50000;
2323
const config = require('../../../../config');
2424
const config_fs_account_options = { show_secrets: true, decrypt_secret_key: true };

src/test/unit_tests/jest_tests/test_nc_account_invalid_mkm_integration.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { TYPES, ACTIONS } = require('../../../manage_nsfs/manage_nsfs_constants')
1212
const ManageCLIError = require('../../../manage_nsfs/manage_nsfs_cli_errors').ManageCLIError;
1313
const ManageCLIResponse = require('../../../manage_nsfs/manage_nsfs_cli_responses').ManageCLIResponse;
1414

15-
const tmp_fs_path = path.join(TMP_PATH, 'test_nc_nsfs_account_cli');
15+
const tmp_fs_path = path.join(TMP_PATH, 'test_nc_invalid_mkm_integration');
1616
const config_root = path.join(tmp_fs_path, 'config_root_account_mkm_integration');
1717
const root_path = path.join(tmp_fs_path, 'root_path_account_mkm_integration/');
1818
const defaults = {

src/test/unit_tests/jest_tests/test_nc_nsfs_connection_cli.test.js renamed to src/test/unit_tests/jest_tests/test_nc_connection_cli.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const { ConfigFS } = require('../../../sdk/config_fs');
1414
const { TMP_PATH, set_nc_config_dir_in_config } = require('../../system_tests/test_utils');
1515
const { TYPES, ACTIONS } = require('../../../manage_nsfs/manage_nsfs_constants');
1616

17-
const tmp_fs_path = path.join(TMP_PATH, 'test_nc_nsfs_account_cli');
17+
const tmp_fs_path = path.join(TMP_PATH, 'test_nc_connection_cli.test');
1818
const timeout = 5000;
1919

2020
// eslint-disable-next-line max-lines-per-function

0 commit comments

Comments
 (0)