-
Notifications
You must be signed in to change notification settings - Fork 202
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
MAYA-127459 - Create an autotest for USD root layer having a relative path #2861
Conversation
@seando-adsk the preflight failed on autotest testUsdExportPackage, which is a known random failure. We can consider the preflight passed. |
# Restore mayaUsd_MakePathRelativeToSceneFile | ||
cmds.optionVar(iv=('mayaUsd_MakePathRelativeToSceneFile', 0)) |
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.
FYI, you shouldn't have to do this because every test will run with its own set of newly created prefs.
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.
Couple times in the past I stumbled upon problems with prefs that I thought would be reset to default but they werent't. Things like default background color and display layer color. Prefs set during one run of the test would persist at the next run. So now I prefer to be sure
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.
Right that is true if you are running the tests locally over and over again. Each test gets its own set of prefs, but they aren't cleared from one run to the next.
Note: this is only a problem locally since the test runs on the build machines run only once.
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.
Thanks for adding the test.
No description provided.