Fix unit test of RecreateMasterKey#34678
Merged
Merged
Conversation
individual-it
approved these changes
Mar 5, 2019
The unit test of RecreateMasterKey were failing because the indexes pointed for writeln method were not matching. This patch fixes the same. Signed-off-by: Sujith H <sharidasan@owncloud.com>
sharidas
force-pushed
the
fix-encryption-unittest
branch
from
March 5, 2019 07:40
a952403 to
3e09d96
Compare
Codecov Report
@@ Coverage Diff @@
## stable10 #34678 +/- ##
===============================================
- Coverage 64% 45.03% -18.98%
===============================================
Files 1276 116 -1160
Lines 75801 11465 -64336
Branches 1291 1291
===============================================
- Hits 48515 5163 -43352
+ Misses 26907 5923 -20984
Partials 379 379
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## stable10 #34678 +/- ##
===========================================
Coverage 64% 64%
Complexity 19247 19247
===========================================
Files 1276 1276
Lines 75801 75801
Branches 1291 1291
===========================================
Hits 48515 48515
Misses 26907 26907
Partials 379 379
Continue to review full report at Codecov.
|
Contributor
|
"forward port" fix for master is in separate encryption app PR owncloud/encryption#107 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The unit test of RecreateMasterKey were
failing because the indexes pointed for
writeln method were not matching. This
patch fixes the same.
Signed-off-by: Sujith H sharidasan@owncloud.com
Description
The unit test did pass in owncloud/encryption#21. But it has been observed recently the failure in drone, regarding the failure:
This is because of the wrong index of
writelnmethod. I have updated the changes and verified it in my instance. And this should fix it.Related Issue
Motivation and Context
Fix the unit test failure for RecreateMasterKey.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: