execute test case failing randomly

Description

the travis build is randomly failing on the cfexecute timeout test case

https://github.com/lucee/Lucee/blob/6.0/test/tags/Execute.cfc#L29

Environment

None

Activity

Show:

Zac Spitzer 5 July 2024 at 13:32

hasn't happened in ages, closing..

Zac Spitzer 22 June 2021 at 11:55

happing with GHA too, I increased the timeout to 0.02 for 5.3

Zac Spitzer 12 March 2021 at 17:53

Zac Spitzer 8 March 2021 at 23:45
Edited

It actually happens quite regularly on travis, causing builds to fail.

i.e. with 5.3.8.156, I tried restarting the build on travis, which succeeded, but didn’t produce a snapshot??

I have changed the test approach to use expect(e.message).toInclude('expired'), so it will output the error for clarity when it fails

Pothys - MitrahSoft 18 February 2021 at 12:15

Yes, the execute test case was failed randomly. For the very first time, it was failed after that test case was passed. But, the test case failed when cfexecute throws an "Error invoking external process". But it happens in rare scenarios only.

Fixed

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 16 February 2021 at 14:22
Updated 5 July 2024 at 13:32
Resolved 5 July 2024 at 13:32