Skip to content

Fix failing tests #2

@jenlampton

Description

@jenlampton

comment from @vstemen:

So far as I can tell, it is working fine but the automated tests using the testing module fail. They also fail on Drupal. Strangely, on Drupal, it immediately fails with

1 pass, 1 fail, and 0 exceptions

But on Backdrop, it reports a lot more tests and about half of them fail.

48 passes, 44 fails, 6 exceptions, and 19 debug messages

from @jenlampton:

I checked on the tests in the code, and it does look like there is only one test in this module. As a sanity check, are you sure you are running the same test group on the d7 instance and B? (Is there only one test box checked, and it's the one named "CSS Injector Functionality"?) I haven't tried to run the tests, but my guess is that maybe you are running more than one?

comment from @vstemen:

Yes, I checked the "CSS Injector" box only. It does say it is only running
1 test.

Processing test 1 of 1 - CSS Injector Functionality.

but after a fairly long delay of about a minute, it errors with

An error has occurred.
Please continue to the error page

An AJAX HTTP error occurred. HTTP Result Code: 504 Debugging information
follows. Path: /batch?id=9&op=do_nojs&op=do StatusText: Gateway Time-out
ResponseText: 504 Gateway Time-out 504 Gateway Time-out nginx/1.12.0 

Then when I go to the error page, I get

CSS Injector Functionality
48 passes, 43 fails, 6 exceptions, and 19 debug messages

and lists a whole bunch of FAIL and PASS result lines.

History

This issue has been copied over from backdrop-ops/contrib#256 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions