-
Notifications
You must be signed in to change notification settings - Fork 25
DEVPROD-1661 add distro setting for mountpoints #2157
Conversation
evergreen-ci/evergreen#7256 adds the mountpoint to the distro mutation. |
1 flaky test on run #14479 ↗︎
Details:
Review all test suite changes for PR #2157 ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can write an e2e test by following the examples in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include a test for gqlToForm
when mountpoints
is null. Pull in main after the code suggestion is committed and the e2e tests may pass
@@ -48,6 +49,7 @@ export const gqlToForm = ((data) => { | |||
isVirtualWorkStation, | |||
icecreamSchedulerHost: iceCreamSettings.schedulerHost, | |||
icecreamConfigPath: iceCreamSettings.configPath, | |||
mountpoints, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The form isn't allowing save because it wants mountpoints to be an array but instead it is null when the data initially loads.
mountpoints, | |
mountpoints: mountpoints ?? [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found that out by logging here:
case "updateForm": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@SupaJoon it looks like e2e passed 🕺 ! |
DEVPROD-1661
Description
evergreen-ci/evergreen#7213 added a new setting to the legacy distros page for mountpoints in the distro. This PR will add the setting to the new distro page as well.
Screenshots
Testing
I'm not completely clear how to test this. The field is added to the test data/transformers test, but I'm sure there must be other tests I can add it to.
Evergreen PR
evergreen-ci/evergreen#7213