-
Notifications
You must be signed in to change notification settings - Fork 331
Migrate catalog configs to the new reserved prefix #1557
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -75,7 +75,7 @@ public void testConfigsCanBeCastedFromString() { | |
| public void testInvalidCastThrowsException() { | ||
| // Bool not included because Boolean.valueOf turns non-boolean strings to false | ||
| List<PolarisConfiguration<?>> configs = | ||
| List.of(buildConfig("int", 12), buildConfig("long", 34L), buildConfig("double", 5.6D)); | ||
| List.of(buildConfig("int2", 12), buildConfig("long2", 34L), buildConfig("double2", 5.6D)); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: Why do we need to rename these test properties?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good eye, it's because of this check: These keys are re-used across tests. Maybe there's some elegant way we can avoid having to make the names unique in tests (a edit: I toyed with a |
||
|
|
||
| PolarisConfigurationStore store = | ||
| new PolarisConfigurationStore() { | ||
|
|
@@ -135,7 +135,7 @@ public void testBehaviorAndFeatureConfigs() { | |
|
|
||
| BehaviorChangeConfiguration<Boolean> behaviorChangeConfig = | ||
| PolarisConfiguration.<Boolean>builder() | ||
| .key("example") | ||
| .key("example2") | ||
| .description("example") | ||
| .defaultValue(true) | ||
| .buildBehaviorChangeConfiguration(); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.