Skip to content

[stable20] Run unit tests against oracle - #24049

Merged
MorrisJobke merged 19 commits into
stable20from
backport/23882/stable20
Nov 12, 2020
Merged

[stable20] Run unit tests against oracle#24049
MorrisJobke merged 19 commits into
stable20from
backport/23882/stable20

Conversation

@nickvergessen

@nickvergessennickvergessen commented Nov 11, 2020

Copy link
Copy Markdown
Member

Backport of #23882

@MorrisJobke

Copy link
Copy Markdown
Member

Psalm is unhappy about those two:

lib/private/Files/Stream/Encryption.php:449:16:error - UndefinedInterfaceMethod: Method OCP\Files\Cache\ICacheEntry::offsetGet does not exist
lib/private/Files/Stream/Encryption.php:501:59:error - InvalidScalarArgument: Argument 2 of OCP\Encryption\IEncryptionModule::decrypt expects string, int|non-empty-lowercase-string provided

@nickvergessen

Copy link
Copy Markdown
MemberAuthor

What? I updated the baseline after running it locally....

@rullzerrullzer mentioned this pull request Nov 12, 2020
juliusknorrand others added 16 commits November 12, 2020 12:57
Signed-off-by: Julius Härtl <jus@bitgrid.net>
… oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…with clob
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…he root and exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…nique or foreign key
Signed-off-by: Joas Schilling <coding@schilljs.com>
Primary key columns on Oracle can not have empty strings
Signed-off-by: Joas Schilling <coding@schilljs.com>
…erwards
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>

@icewind1991icewind1991 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

requires #24072 to be backported to

Signed-off-by: Robin Appelman <robin@icewind.nl>
@rullzer

Copy link
Copy Markdown
Member

requires #24072 to be backported to

cherry-picked on this branch

@icewind1991
icewind1991 self-requested a review November 12, 2020 15:22
@faily-bot

faily-botBot commented Nov 12, 2020

Copy link
Copy Markdown

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 35441: failure

mariadb10.1-php7.2

Show full log
There were 2 warnings:
1) Test\Files\ViewTest::testRenameFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static
2) Test\Files\ViewTest::testCopyFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static
--
There was 1 failure:
1) Test\SystemTag\SystemTagManagerTest::testGetExistingTag with data set #1 ('one', true, false)
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'0'
+'32'
/drone/src/tests/lib/SystemTag/SystemTagManagerTest.php:535
/drone/src/tests/lib/SystemTag/SystemTagManagerTest.php:270

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke
MorrisJobke merged commit 2e3637f into stable20Nov 12, 2020
@MorrisJobke
MorrisJobke deleted the backport/23882/stable20 branch November 12, 2020 18:54
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@nickvergessen@MorrisJobke@rullzer@icewind1991@juliusknorr