Skip to content

[BUG]: RubyRSpec action intermittent failure #1205

@RayOei

Description

@RayOei

The Ruby action for executing RSpec on a PR intermittently fails without any clear reason.

This is likely hard to reproduce but observed several times: on a PR the Ruby steps may fail.
Example, PR with fixes in translations which previously succeeded:

Failures:

  1) Order balancing charges correct amounts creates financial transaction with correct amount
     Failure/Error: expect(goa.result).to be > 0

       expected: > 0
            got:   0
     # ./spec/models/order_spec.rb:186:in `block (3 levels) in <top (required)>'

Finished in 0.40735 seconds (files took 3.83 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/models/order_spec.rb:185 # Order balancing charges correct amounts creates financial transaction with correct amount

Randomized with seed 27385

Re-running the (same) jobs may fail again or pass but eventually it seems to pass.

The PR may not even contain changes in executing code, e.g. only changes in language files or readme.

Could this be related to the seeding??

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech debttechnical debttestTest(ing) related

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions