Skip to content

[upgrade] Upgrade Functional Test failure fix#905

Merged
alameenshah merged 1 commit into
microsoft:masterfrom
alameenshah:test_reliability_852
Mar 11, 2019
Merged

[upgrade] Upgrade Functional Test failure fix#905
alameenshah merged 1 commit into
microsoft:masterfrom
alameenshah:test_reliability_852

Conversation

@alameenshah
Copy link
Copy Markdown
Contributor

When Nuget settings (upgrade.feedurl & upgrade.feedpackagename) are not available in gvfs config, then an attempt to read (or write) those missing values will cause gvfs config read/write to exit with error code 3. UpgradeReminder FT tries to 1. read existing nuget config, 2. delete it, 3. execute tests and then 4. restore previously read Nuget config. The failure used to happen in step 1. while attempting to read a config key which is not available in gvfs config file.

Fixes #852

@alameenshah alameenshah added the type: test-reliability Issues that contribute to test failures label Mar 8, 2019
Comment thread GVFS/GVFS.FunctionalTests/Tools/GVFSProcess.cs Outdated
Copy link
Copy Markdown
Member

@wilbaker wilbaker left a comment

Choose a reason for hiding this comment

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

Approved with suggestions

Comment thread GVFS/GVFS.FunctionalTests/Tools/GVFSProcess.cs Outdated
When Nuget settings (upgrade.feedurl & upgrade.feedpackagename) are not available in gvfs config, then an attempt to read (or write) those missing values will cause gvfs config read/write to exit with error code 3. This will cause UpgradeReminder FT to fail on PCs where Nuget is not configured.

Fixes #852
@alameenshah alameenshah merged commit 10e5ead into microsoft:master Mar 11, 2019
@jrbriggs jrbriggs added this to the M150 milestone Mar 28, 2019
@alameenshah alameenshah deleted the test_reliability_852 branch August 28, 2019 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: test-reliability Issues that contribute to test failures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants