Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notifications | unit tests #8497

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alphaprinz
Copy link
Contributor

Explain the changes

  1. Add unit tests for notifications

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  • Doc added/updated
  • Tests added

@alphaprinz alphaprinz force-pushed the notifications_coretest branch 10 times, most recently from 596a084 to 5604bd0 Compare November 4, 2024 17:17
@alphaprinz alphaprinz force-pushed the notifications_coretest branch from 5604bd0 to 56eb869 Compare November 15, 2024 17:20
@alphaprinz alphaprinz force-pushed the notifications_coretest branch from 56eb869 to 329bf1d Compare December 6, 2024 19:13
@alphaprinz alphaprinz force-pushed the notifications_coretest branch 7 times, most recently from 64506ff to 0ef0a94 Compare December 26, 2024 22:26
@alphaprinz alphaprinz force-pushed the notifications_coretest branch from 0ef0a94 to 231eb9c Compare December 31, 2024 22:54
Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
@alphaprinz alphaprinz force-pushed the notifications_coretest branch from 231eb9c to e115cad Compare January 3, 2025 01:26
@alphaprinz alphaprinz marked this pull request as ready for review January 3, 2025 01:26
@@ -98,6 +98,7 @@ require('./test_tiering_ttl_worker');
// require('./test_tiering_upload');
//require('./test_s3_worm');
require('./test_bucket_logging');
require('./test_notifications');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want your tests to run only in a containerized environment?
We also have the nc_index for NC tests.

config.NOTIFICATION_LOG_DIR = notif_logs_path;

coretest.setup({pools_to_create: [POOL_LIST[1]]});
const { S3 } = require('@aws-sdk/client-s3');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use generate_s3_client from test_utils.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants