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

Add optional index API #25471

Closed
wants to merge 3 commits into from
Closed

Add optional index API #25471

wants to merge 3 commits into from

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Feb 3, 2021

This will allow apps to register a handler to provide information about missing indexes.

@ChristophWurst as discussed

TODO:

@rullzer rullzer added enhancement 2. developing Work in progress labels Feb 3, 2021
@rullzer rullzer added this to the Nextcloud 22 milestone Feb 3, 2021
lib/public/App/Maintenance/IMissingIndex.php Outdated Show resolved Hide resolved
lib/public/App/Maintenance/IMissingIndex.php Outdated Show resolved Hide resolved
lib/public/App/Maintenance/IMissingIndex.php Outdated Show resolved Hide resolved
lib/public/App/Maintenance/IMissingIndexProvider.php Outdated Show resolved Hide resolved
@rullzer rullzer force-pushed the enh/bootstrap/missing_indexes branch from 46ad3ad to 3fb9016 Compare February 9, 2021 12:30
@faily-bot
Copy link

faily-bot bot commented Feb 9, 2021

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 2065: failure

sqlite

Show full log
There were 116 warnings:

1) Test\Encryption\DecryptAllTest::testDecryptAllUsersFiles with data set #1 ('')
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

2) Test\Encryption\DecryptAllTest::testDecryptUsersFiles
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

3) Test\Files\ViewTest::testCreateParentDirectories
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

4) Test\InstallerTest::testDownloadAppWithInvalidSignature
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

5) Test\InstallerTest::testDownloadAppWithMoreThanOneFolderDownloaded
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

6) Test\InstallerTest::testDownloadAppWithMismatchingIdentifier
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

7) Test\InstallerTest::testDownloadAppSuccessful
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

8) Test\InstallerTest::testDownloadAppWithDowngrade
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

9) Test\Repair\NC11\FixMountStoragesTest::testRun
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

10) Test\Security\CertificateManagerTest::testNeedRebundling with data set #0 (10, 30, true, false)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

11) Test\Security\CertificateManagerTest::testNeedRebundling with data set #1 (10, 15, true, false)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

12) Test\Security\CertificateManagerTest::testNeedRebundling with data set #2 (10, 8, true, true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

13) Test\Security\CertificateManagerTest::testNeedRebundling with data set #3 (10, 30, true, false)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

14) Test\Security\CertificateManagerTest::testNeedRebundling with data set #4 (10, 8, true, true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

15) Test\Security\CertificateManagerTest::testNeedRebundling with data set #5 (10, 30, false, true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

16) Test\Security\CertificateManagerTest::testNeedRebundling with data set #6 (10, 15, false, true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

17) Test\Security\CertificateManagerTest::testNeedRebundling with data set #7 (10, 8, false, true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

18) Test\Security\CertificateManagerTest::testNeedRebundling with data set #8 (10, 30, false, true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

19) Test\Security\CertificateManagerTest::testNeedRebundling with data set #9 (10, 8, false, true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

20) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

21) Test\Share20\ManagerTest::testDelete with data set #0 (0, 'sharedWithUser')
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

22) Test\Share20\ManagerTest::testDelete with data set #1 (1, 'sharedWithGroup')
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

23) Test\Share20\ManagerTest::testDelete with data set #2 (3, '')
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

24) Test\Share20\ManagerTest::testDelete with data set #3 (6, 'foo@bar.com')
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

25) Test\Share20\ManagerTest::testDeleteLazyShare
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

26) Test\Share20\ManagerTest::testDeleteNested
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

27) Test\Share20\ManagerTest::testDeleteFromSelf
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

28) Test\Share20\ManagerTest::testCreateShareLink
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

29) Test\Share20\ManagerTest::testCreateShareMail
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

30) Test\Share20\ManagerTest::testGetShareByTokenWithException
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

31) Test\Share20\ManagerTest::testGetShareByTokenPublicUploadDisabled
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

32) Test\User\ManagerTest::testGetByEmail
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

33) Test\User\SessionTest::testGetUser
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

34) Test\User\UserTest::testDeleteWithDifferentHome
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

35) Test\UtilTest::testIsSharingDisabledForUser with data set #0 (array('g1', 'g2', 'g3'), array(), array('g1'), false)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

36) Test\UtilTest::testIsSharingDisabledForUser with data set #1 (array('g1', 'g2', 'g3'), array(), array(), false)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

37) Test\UtilTest::testIsSharingDisabledForUser with data set #2 (array('g1', 'g2', 'g3'), array('g2'), array('g1'), false)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

38) Test\UtilTest::testIsSharingDisabledForUser with data set #3 (array('g1', 'g2', 'g3'), array('g2'), array(), false)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

39) Test\UtilTest::testIsSharingDisabledForUser with data set #4 (array('g1', 'g2', 'g3'), array('g1', 'g2'), array('g1'), false)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

40) Test\UtilTest::testIsSharingDisabledForUser with data set #5 (array('g1', 'g2', 'g3'), array('g1', 'g2'), array('g1', 'g2'), true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

41) Test\UtilTest::testIsSharingDisabledForUser with data set #6 (array('g1', 'g2', 'g3'), array('g1', 'g2'), array('g1', 'g2', 'g3'), true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

42) OCA\Files\Tests\Command\DeleteOrphanedFilesTest::testClearFiles
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

43) OCA\DAV\Tests\unit\CardDAV\CardDavBackendTest::testCardOperations
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

44) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarOperations
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

45) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarSharing with data set #0 (true, true, true, false, array(array('principal:principals/users/ca...-test1', false), array('principal:principals/groups/c...-group', true)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

46) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarSharing with data set #1 (true, true, true, false, array(array('principal:principals/groups/c...-group', true), array('principal:principals/groups/c...group2', false)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

47) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarSharing with data set #2 (true, true, true, true, array(array('principal:principals/groups/c...-group', false), array('principal:principals/groups/c...group2', true)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

48) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarSharing with data set #3 (true, false, false, false, array(array('principal:principals/users/ca...-test1', true)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

49) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarObjectsOperations
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

50) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testMultipleCalendarObjectsWithSameUID
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

51) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testMultiCalendarObjects
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

52) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarQuery with data set "all" (array(0, 1, 2, 3), array(), array())
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

53) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarQuery with data set "only-todos" (array(), array('VTODO'), array())
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

54) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarQuery with data set "only-events" (array(0, 1, 2, 3), array(), array(array('VEVENT', false, array(), array(null, null), array())))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

55) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarQuery with data set "start" (array(1, 2, 3), array(), array(array('VEVENT', false, array(), array(DateTime Object (...), null), array())))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

56) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarQuery with data set "end" (array(0), array(), array(array('VEVENT', false, array(), array(null, DateTime Object (...)), array())))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

57) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarQuery with data set "future" (array(3), array(), array(array('VEVENT', false, array(), array(DateTime Object (...), null), array())))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

58) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testGetCalendarObjectByUID
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

59) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testSyncSupport
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

60) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testPublications
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

61) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testCalendarSearch
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

62) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testSearch with data set #0 (false, array(), 4)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

63) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testSearch with data set #1 (true, array(array(DateTime Object (...), DateTime Object (...))), 2)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

64) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testSearch with data set #2 (true, array(array(DateTime Object (...), DateTime Object (...))), 0)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

65) OCA\DAV\Tests\unit\CalDAV\CalDavBackendTest::testSameUriSameIdForDifferentCalendarTypes
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

66) OCA\DAV\Tests\unit\Connector\Sabre\AuthTest::testAuthenticateValidCredentials
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

67) OCA\DAV\Tests\unit\Connector\Sabre\AuthTest::testAuthenticateInvalidCredentials
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

68) OCA\DAV\Tests\unit\Connector\Sabre\BearerAuthTest::testValidateBearerToken
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

69) OCA\DAV\Tests\DAV\CustomPropertiesBackendTest::testPropFindNoDbCalls
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

70) OCA\FederatedFileSharing\Tests\FederatedShareProviderTest::testGetSharedBy
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

71) OCA\Files_Sharing\Tests\Command\CleanupRemoteStoragesTest::testCleanup
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

72) OCA\Files_Sharing\Tests\Controllers\ShareControllerTest::testShowShare
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

73) OCA\Files_Sharing\Tests\Controllers\ShareControllerTest::testShowShareWithPrivateName
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

74) OCA\Files_Sharing\Tests\Controllers\ShareControllerTest::testShowShareHideDownload
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

75) OCA\Files_Sharing\Tests\External\ManagerTest::testAddShare
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

76) OCA\Files_Sharing\Tests\MountProviderTest::testExcludeShares
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

77) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #0 (array(array(1, 100, 'user2', '/share2', 31)), array(array(2, 100, 'user2', '/share2', 31)), array(array('1', 100, 'user2', '/share2', 31)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

78) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #1 (array(array(1, 100, 'user2', '/share', 31)), array(array(2, 100, 'user2', '/share', 15)), array(array('1', 100, 'user2', '/share', 31)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

79) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #2 (array(), array(array(1, 100, 'user2', '/share', 31), array(2, 100, 'user2', '/share', 31)), array(array('1', 100, 'user2', '/share', 31)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

80) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #3 (array(), array(array(1, 100, 'user2', '/share', 31), array(2, 100, 'user2', '/share', 15)), array(array('1', 100, 'user2', '/share', 31)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

81) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #4 (array(), array(array(1, 100, 'user1', '/share', 31)), array())
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

82) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #5 (array(), array(array(1, 100, 'user1', '/share', 31), array(2, 100, 'user1', '/share', 15)), array())
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

83) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #6 (array(), array(array(1, 100, 'user2', '/share', 0)), array())
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

84) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #7 (array(array(1, 100, 'user2', '/share2-renamed', 31)), array(array(2, 100, 'user2', '/share2', 31)), array(array('1', 100, 'user2', '/share2-renamed', 31)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

85) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #8 (array(array(2, 100, 'user2', '/share2', 31)), array(array(1, 100, 'user2', '/share2-renamed', 31)), array(array('1', 100, 'user2', '/share2-renamed', 31)))
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

86) OCA\Files_Sharing\Tests\MountProviderTest::testMergeShares with data set #9 (array(array(2, 100, 'user2', '/share2', 31)), array(array(1, 100, 'nullgroup', '/share2-renamed', 31)), array(array('1', 100, 'nullgroup', '/share2-renamed', 31)), true)
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

87) OCA\Settings\Tests\Settings\Admin\ServerTest::testGetForm
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

88) OCA\User_LDAP\Tests\User\UserTest::testUpdateQuotaDefaultProvided
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

89) OCA\User_LDAP\Tests\LDAPProviderTest::testGetUserDNUserIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

90) OCA\User_LDAP\Tests\LDAPProviderTest::testGetUserDN
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

91) OCA\User_LDAP\Tests\LDAPProviderTest::testGetGroupDNGroupIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

92) OCA\User_LDAP\Tests\LDAPProviderTest::testGetGroupDN
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

93) OCA\User_LDAP\Tests\LDAPProviderTest::testGetUserName
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

94) OCA\User_LDAP\Tests\LDAPProviderTest::testDNasBaseParameter
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

95) OCA\User_LDAP\Tests\LDAPProviderTest::testSanitizeDN
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

96) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPConnectionUserIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

97) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPConnection
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

98) OCA\User_LDAP\Tests\LDAPProviderTest::testGetGroupLDAPConnectionGroupIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

99) OCA\User_LDAP\Tests\LDAPProviderTest::testGetGroupLDAPConnection
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

100) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPBaseUsersUserIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

101) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPBaseUsers
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

102) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPBaseGroupsUserIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

103) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPBaseGroups
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

104) OCA\User_LDAP\Tests\LDAPProviderTest::testClearCacheUserIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

105) OCA\User_LDAP\Tests\LDAPProviderTest::testClearCache
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

106) OCA\User_LDAP\Tests\LDAPProviderTest::testClearGroupCacheGroupIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

107) OCA\User_LDAP\Tests\LDAPProviderTest::testClearGroupCache
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

108) OCA\User_LDAP\Tests\LDAPProviderTest::testDnExists
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

109) OCA\User_LDAP\Tests\LDAPProviderTest::testFlagRecord
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

110) OCA\User_LDAP\Tests\LDAPProviderTest::testUnflagRecord
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

111) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPDisplayNameFieldUserIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

112) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPDisplayNameField
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

113) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPEmailFieldUserIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

114) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPEmailField
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

115) OCA\User_LDAP\Tests\LDAPProviderTest::testGetLDAPGroupMemberAssocUserIDNotFound
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

116) OCA\User_LDAP\Tests\LDAPProviderTest::testgetLDAPGroupMemberAssoc
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

--

There was 1 failure:

1) Test\User\DatabaseTest::testSearch
Failed asserting that actual size 3 matches expected size 2.

/drone/src/tests/lib/User/Backend.php:114
/drone/src/tests/lib/User/DatabaseTest.php:125

mysql8.0-php7.4

@ChristophWurst
Copy link
Member

Needs some adjustment for #25359

@ChristophWurst ChristophWurst added the pending documentation This pull request needs an associated documentation update label Feb 11, 2021
@ChristophWurst ChristophWurst changed the title Add missing index Add optional index API Mar 3, 2021
@rullzer rullzer force-pushed the enh/bootstrap/missing_indexes branch 2 times, most recently from fb6aeaa to 3b86c77 Compare March 8, 2021 19:37
This was referenced May 20, 2021
@blizzz blizzz mentioned this pull request Jun 2, 2021
57 tasks
@skjnldsv skjnldsv requested a review from tcitworld June 2, 2021 15:26
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Jun 2, 2021
@blizzz
Copy link
Member

blizzz commented Jun 2, 2021

conflicts 🙁

@blizzz blizzz force-pushed the enh/bootstrap/missing_indexes branch 2 times, most recently from 82484c7 to 82ebb00 Compare June 2, 2021 19:09
rullzer and others added 3 commits June 2, 2021 21:10
This will allow apps to register a handler to provide information about
optional indexes.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz added this to the Nextcloud 23 milestone Jun 24, 2021
@skjnldsv skjnldsv mentioned this pull request Oct 13, 2021
@skjnldsv skjnldsv modified the milestones: Nextcloud 23, Nextcloud 24 Oct 21, 2021
@skjnldsv skjnldsv mentioned this pull request Mar 24, 2022
@blizzz blizzz mentioned this pull request Mar 31, 2022
This was referenced Apr 7, 2022
@blizzz blizzz modified the milestones: Nextcloud 24, Nextcloud 25 Apr 21, 2022
This was referenced Aug 12, 2022
This was referenced Aug 24, 2022
This was referenced Sep 6, 2022
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
This was referenced Sep 20, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 22, 2022
@blizzz blizzz mentioned this pull request Feb 1, 2023
@skjnldsv skjnldsv mentioned this pull request Feb 23, 2023
@blizzz blizzz mentioned this pull request Mar 7, 2023
@blizzz blizzz removed this from the Nextcloud 26 milestone Mar 7, 2023
@blizzz
Copy link
Member

blizzz commented Mar 7, 2023

closing for inactivity

@blizzz blizzz closed this Mar 7, 2023
@nickvergessen nickvergessen deleted the enh/bootstrap/missing_indexes branch March 7, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress enhancement pending documentation This pull request needs an associated documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants