We have a few failing tests. We need to fix those so they all pass before we get a stable release.

Comments

kmoll created an issue. See original summary.

kmoll’s picture

StatusFileSize
new13.41 KB

I have updated the functionality. Needed to make a few small tweaks to the code, but now all tests pass.

naveenvalecha’s picture

Status: Active » Needs review

Testing this on drupal ci

Status: Needs review » Needs work

The last submitted patch, 2: 276486-fix-tests-1.patch, failed testing.

kmoll’s picture

StatusFileSize
new15.36 KB

Some of the failing tests are due to the report directive not using the base path. Updated patch.

kmoll’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 5: 276486-fix-tests-5.patch, failed testing.

The last submitted patch, 5: 276486-fix-tests-5.patch, failed testing.

kmoll’s picture

StatusFileSize
new15.63 KB

One of the tests is failing because it returns a 200 if the IP address is localhost. The test bot runs on localhost. But the base root is added to the whitelist, so if the origin matches, it will allow it. If it is different then IMO, it should still fail. If the the IP is localhost, its either the test-bot or a development environment, so I think that we would want to to work this way for testing purposes. I was testing on a VM which is why my tests were passing.

Here is a new patch, and I made another update on for the report directives url.

kmoll’s picture

Status: Needs work » Needs review
badjava’s picture

I removed the waiting for branch tests to pass so let's see what happens.

Status: Needs review » Needs work

The last submitted patch, 9: 276486-fix-test-9.patch, failed testing.

The last submitted patch, 9: 276486-fix-test-9.patch, failed testing.

The last submitted patch, 9: 276486-fix-test-9.patch, failed testing.

The last submitted patch, 5: 276486-fix-tests-5.patch, failed testing.

The last submitted patch, 5: 276486-fix-tests-5.patch, failed testing.

The last submitted patch, 2: 276486-fix-tests-1.patch, failed testing.

kmoll’s picture

Status: Needs work » Needs review
StatusFileSize
new16 KB

Test was failing due to 1 test, I've updated the event subscriber to add the $base_url, not the $base_root.

jribeiro’s picture

Status: Needs review » Reviewed & tested by the community

+1 RTBC

  • badjava committed eeb82b5 on 8.x-1.x authored by kmoll
    Issue #2764863 by kmoll, naveenvalecha, badjava, jribeiro: Fix tests
    
badjava’s picture

Assigned: kmoll » Unassigned
Status: Reviewed & tested by the community » Fixed

Thank you @kmoll for fixing this and everyone else for pitching in!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.