owncloud / user_ldap

📒
GNU Affero General Public License v3.0
17 stars 17 forks source link

Nightly failure: apiUserLDAP/sharingLocalUserLdapUser.feature:136 #814

Closed saw-jan closed 12 months ago

saw-jan commented 1 year ago

Build: https://drone.owncloud.com/owncloud/user_ldap/4804/29/12, https://drone.owncloud.com/owncloud/user_ldap/4804/37/12

  @issue-364 @skipOnOcV10.12 @skipOnOcV10.13.0 @skipOnOcV10.13.1
  Scenario: Share a folder from an LDAP user to a local user                                                                      # /var/www/owncloud/testrunner/apps/user_ldap/tests/acceptance/features/apiUserLDAP/sharingLocalUserLdapUser.feature:136
    Given user "Alice" has shared folder "/PARENT" with user "local-user"                                                         # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
    When the administrator sets the LDAP config "LDAPTestId" key "ldapHost" to "not-existing" using the occ command               # UserLdapGeneralContext::ldapConfigHasKeySetTo()
    And user "local-user" downloads file "/PARENT (2)/parent.txt" using the WebDAV API                                            # FeatureContext::userDownloadsFileUsingTheAPI()
    Then the HTTP status code should be "404"                                                                                     # FeatureContext::thenTheHTTPStatusCodeShouldBe()
      HTTP status code 500 is not the expected value 404
      Failed asserting that 500 matches expected '404'.
saw-jan commented 1 year ago

Similar failure https://github.com/owncloud/files_lifecycle/issues/555

phil-davis commented 1 year ago

core PR revert has caused this. I have asked about it in https://github.com/owncloud/core/pull/41059#issuecomment-1794164444

phil-davis commented 12 months ago

Let's revert the tests so that we get green CI that demonstrates the behavior that currently exists.