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

Fix multiple CI failures on master #30992

Merged
merged 3 commits into from
Apr 3, 2018
Merged

Fix multiple CI failures on master #30992

merged 3 commits into from
Apr 3, 2018

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented Apr 3, 2018

Fixes errors that sneaked it while CI was not looking

Copy link
Member

@VicDeo VicDeo left a comment

Choose a reason for hiding this comment

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

Thanks!

@codecov
Copy link

codecov bot commented Apr 3, 2018

Codecov Report

Merging #30992 into master will increase coverage by 0.15%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #30992      +/-   ##
============================================
+ Coverage     62.16%   62.31%   +0.15%     
  Complexity    18208    18208              
============================================
  Files          1142     1142              
  Lines         68190    68190              
  Branches       1232     1232              
============================================
+ Hits          42391    42494     +103     
+ Misses        25438    25335     -103     
  Partials        361      361
Flag Coverage Δ Complexity Δ
#javascript 52.04% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 63.48% <ø> (+0.16%) 18208 <ø> (ø) ⬇️
Impacted Files Coverage Δ Complexity Δ
lib/public/Util/UserSearch.php 100% <ø> (ø) 4 <0> (ø) ⬇️
lib/private/Files/View.php 84.46% <0%> (+0.3%) 383% <0%> (ø) ⬇️
lib/private/Repair/RepairMismatchFileCachePath.php 85.2% <0%> (+0.4%) 49% <0%> (ø) ⬇️
lib/private/DB/QueryBuilder/QueryBuilder.php 91.66% <0%> (+0.46%) 68% <0%> (ø) ⬇️
lib/private/DB/MDB2SchemaManager.php 91.22% <0%> (+1.75%) 17% <0%> (ø) ⬇️
lib/private/DB/Connection.php 68.38% <0%> (+4.41%) 49% <0%> (ø) ⬇️
...private/DB/MySqlSchemaColumnDefinitionListener.php 5.4% <0%> (+5.4%) 46% <0%> (ø) ⬇️
lib/private/DB/MDB2SchemaWriter.php 93.75% <0%> (+6.25%) 34% <0%> (ø) ⬇️
lib/private/DB/ConnectionFactory.php 82.89% <0%> (+9.21%) 21% <0%> (ø) ⬇️
lib/private/DB/AdapterMySQL.php 50% <0%> (+50%) 4% <0%> (ø) ⬇️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c59a9d1...21c1922. Read the comment docs.

@PVince81 PVince81 changed the title Add missing "since" tags to UserSearch class Fix multiple CI failures on master Apr 3, 2018
@PVince81
Copy link
Contributor Author

PVince81 commented Apr 3, 2018

still fails, now with Oracle... might still be a random thing

@PVince81 PVince81 mentioned this pull request Apr 3, 2018
9 tasks
@phil-davis
Copy link
Contributor

It is going to be:
https://github.com/owncloud/core/blob/master/tests/lib/Repair/RepairOrphanedSubshareTest.php#L255
when choosing 20 rows to "randomly" delete, then sometimes it can choose the same row twice. Then it actually only deletes 19 rows. So the count of remaining rows ends up 1 larger than expected.

The usage of mt_rand in tests is
not advisable.

Signed-off-by: Sujith H <sharidasan@owncloud.com>
@PVince81 PVince81 merged commit 6e2b8aa into master Apr 3, 2018
@PVince81 PVince81 deleted the fix-sneaky-errors branch April 3, 2018 16:15
@lock
Copy link

lock bot commented Jul 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants