Skip to content

Fix multiple CI failures on master - #30992

Merged
PVince81 merged 3 commits into
masterfrom
fix-sneaky-errors
Apr 3, 2018
Merged

PVince81 merged 3 commits into
masterfrom
fix-sneaky-errors

Conversation

@PVince81

@PVince81 PVince81 commented Apr 3, 2018

Copy link
Copy Markdown
Contributor

Fixes errors that sneaked it while CI was not looking

@VicDeo VicDeo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@codecov

codecov Bot commented Apr 3, 2018 •

Copy link
Copy Markdown

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

PVince81 commented Apr 3, 2018

Copy link
Copy Markdown
Contributor Author

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

@PVince81 PVince81 mentioned this pull request Apr 3, 2018
3 of 9 tasks
@phil-davis

Copy link
Copy Markdown
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 <[email protected]>
@PVince81
PVince81 merged commit 6e2b8aa into master Apr 3, 2018
@PVince81
PVince81 deleted the fix-sneaky-errors branch April 3, 2018 16:15
@lock

lock Bot commented Jul 31, 2019

Copy link
Copy Markdown

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