Conversation
|
Hi @danieljurek , some storage unittest cases require additional configuration for the storage account. Some case has a bug (FileShareServiceClientTest.SetProperties). Can we skip these test cases with some command line arguments to I disabled test cases for Blob Tags. Please rebase on top of latest master branch. |
|
Skipping tests should be done in the test code so it's clear every time tests run that a test is being skipped. Most test frameworks have a concept of "skipped" as a result for a single test. If we start excluding things in the CI then it makes CI more complex and fragile and makes it difficult for outside contributors to know which tests are not expected to pass. |
I meant disabling some test cases as a workaround, a temporary solution, given we cannot get all test cases passed for now and the release date is so tight. |
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
4e7502f to
9c0d913
Compare
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
9c0d913 to
d5e5c86
Compare
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Pending on #872 to be fully functional. |
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The test cases are reusing the same http connections. Having one single client to run all tests makes tests interfere between them and there could be always some intermittent issues. Like, if a test pass but let the storage client in some specific state that the next test is not expecting. I guess, if you really expect to create this relation between tests cases is fine, but I think that's not a good unit testing model. When adding ctests, you can just use |
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
0322abb to
20fc92b
Compare
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
I created #890 to track this. We can discuss it there. |
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
20fc92b to
c082ccd
Compare
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run cpp - storage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run cpp - core |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@katmsft looks like the storage tests are now passing. Is this ready to get merged? |
Yes, sorry, emailed you about the PR being ready but not caught this comment. Thanks for checking. |
No description provided.