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

[CODE REFACTOR] - Commenting out flaky test #3634

Merged
merged 29 commits into from
Sep 7, 2017

Conversation

ro-joowan
Copy link
Contributor

@ro-joowan ro-joowan commented Aug 30, 2017

  • Removing test case: DataLakeUploader_FreshFolderUploadDownload()

  • Note: In the near future, the custom ADLS Filesystem code will be replaced with a new SDK that has its own set of test cases. The account management side of ADLS will still remain, however.

  • Also updating the changelog.md to describe version 3.1.1-preview

Description


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

SDK Generation Guidelines

  • If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
  • The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
  • The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

ro-joowan and others added 25 commits July 24, 2017 15:23
* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* This commit is for ADLA
* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* This commit for ADLS
* I missed this file!
* Updating to the correct commit number:
Azure/azure-rest-api-specs#1452
* Do hydra to swagger specs migration for azure-sdk-for-net

* Fix build failed problem

* update the assemblyinfo file with the updated version 2.6.0

* Revert "update the assemblyinfo file with the updated version 2.6.0"

This reverts commit a33beb0.

* Updata the AssemblyFileVersion to 2.6.0.0

* revert package version

* Make project files concise.

* Add Provider test case

* update the pr with new tests with session records

* remove extra code
More descriptive and fixing indent issue that was not addressed in the previous commit
More descriptive and fixing indent issue not addressed in a previous commit
Adding an important note about retrieving a list of jobs and accounts
* Ran into two regressions in JobOperationTests.cs
* The custom Job Exists method is expecting a non-empty response body to
validate non-existence.  After speaking with a team member who
implemented the service, I can no longer rely on this.  Thus, I am
removing the logic that checks for a non-empty response body.
* Commenting out the test case for listing Jobs with a select parameter.
This is currently being fixed.
* Adding this as a reminder to re-enable the test
* Removing test case: DataLakeUploader_FreshFolderUploadDownload()

* Note: In the near future, the custom ADLS Filesystem code will be
replaced with a new SDK that has its own set of test cases.  The account
management side of ADLS will still remain, however.
@msftclas
Copy link

@ro-joowan,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@ro-joowan
Copy link
Contributor Author

Squeezing in a little update to the changelog.md in here as well!

@@ -199,7 +199,7 @@ public void DataLakeUploader_FreshUploadDownload()
/// <summary>
/// Tests the case of a fresh upload with multiple segments and multiple files.
/// </summary>
[Fact]
// [Fact]
Copy link
Member

Choose a reason for hiding this comment

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

@ro-joowan rather than commenting the attribute, you should add the skip argument, this way that test is flagged as skipped in VS as well as Build logs
[Fact(Skip="Flaky test, need to fix it")]
Or
Rather simply delete the entire test, but commenting the test is kind of makes it confusing and it's hard to discover what is not being tested in the regression suite

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shahabhijeet updated it so that it now skips. Thank you

* Skipping the flaky test as opposed to commenting it out
* Also, I forgot to replace a SessionRecord file from last update, so I
doing it now
@shahabhijeet shahabhijeet merged commit e93794f into Azure:psSdkJson6 Sep 7, 2017
JasonYang-MSFT pushed a commit to JasonYang-MSFT/azure-sdk-for-net that referenced this pull request Dec 8, 2017
* Code gen for ADLA

* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* This commit is for ADLA

* Code gen for ADLS

* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* This commit for ADLS

* Code gen for ADLS (part 2)

* I missed this file!

* Code gen for ADL (part 3)

* Updating to the correct commit number:
Azure/azure-rest-api-specs#1452

* Update Azure Batch to 5.1.0 (Azure#3513)

* Fixing publishing of symbols. Fixing issue# 3518 (Azure#3519)

* Do hydra to swagger specs migration for azure-sdk-for-net (Azure#3482)

* Do hydra to swagger specs migration for azure-sdk-for-net

* Fix build failed problem

* update the assemblyinfo file with the updated version 2.6.0

* Revert "update the assemblyinfo file with the updated version 2.6.0"

This reverts commit a33beb0.

* Updata the AssemblyFileVersion to 2.6.0.0

* revert package version

* Make project files concise.

* Add Provider test case

* update the pr with new tests with session records

* remove extra code

* Fix Batch changelog references (Azure#3517)

* Fixing changelog.md

* Fixing up changelog.md

* [DataLake Analytics] Fixing changelog.md

More descriptive and fixing indent issue that was not addressed in the previous commit

* [DataLake Store] Fixing changelog.md

More descriptive and fixing indent issue not addressed in a previous commit

* [DataLake Analytics] Fixing changelog.md

Adding an important note about retrieving a list of jobs and accounts

* Revising custom Job Exists method

* Ran into two regressions in JobOperationTests.cs
* The custom Job Exists method is expecting a non-empty response body to
validate non-existence.  After speaking with a team member who
implemented the service, I can no longer rely on this.  Thus, I am
removing the logic that checks for a non-empty response body.
* Commenting out the test case for listing Jobs with a select parameter.
This is currently being fixed.

* Adding a TODO comment

* Adding this as a reminder to re-enable the test

* [CODE GEN] - Reverting readOnly for two fields

* Code gen based on this very descriptive PR:
Azure/azure-rest-api-specs@e33ebf8

* [CODE GEN] - Updating the version (3.1.0 to 3.1.1)

* [CODE REFACTOR] - Removing flaky test

* Removing test case: DataLakeUploader_FreshFolderUploadDownload()

* Note: In the near future, the custom ADLS Filesystem code will be
replaced with a new SDK that has its own set of test cases.  The account
management side of ADLS will still remain, however.

* [DOC] - Updating the changelog to describe 3.1.1-preview

* [CODE REFACTOR] - Skipping flaky test

* Skipping the flaky test as opposed to commenting it out
* Also, I forgot to replace a SessionRecord file from last update, so I
doing it now
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.

5 participants