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

Adding negative testcase for dynamic config #283

Merged
merged 10 commits into from
Apr 24, 2024
Merged

Adding negative testcase for dynamic config #283

merged 10 commits into from
Apr 24, 2024

Conversation

tanmayja
Copy link
Contributor

@tanmayja tanmayja commented Apr 10, 2024

TODO: update lib tag after PR-284 merged.

test/dynamic_config_test.go Show resolved Hide resolved
test/dynamic_config_test.go Outdated Show resolved Hide resolved

case lib.Stats:

default:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's remove the nil type. We would know if there is any other type we are missing.

test/dynamic_config_test.go Outdated Show resolved Hide resolved

// For versions 6.0 and later, replication-factor is dynamic for AP namespaces (non strong-consistency).
if (IsNSSCEnabled(singleConf) || val < 0) && isValueUpdated(
// replication-factor update not allowed
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add a test for this.

@sud82 sud82 merged commit b301d66 into master Apr 24, 2024
8 of 9 checks passed
@sud82 sud82 deleted the dynamicConfigTest branch November 15, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants