Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-3966

Random CircleCI failure: BackendApiTest#test_orphans_should_return_backend_apis_that_do_not_belongs_to_any_service

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • System
    • None
    • 3
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 3scale 2019-11-11, 3scale 2019-11-25, 3scale 2019-12-09

    Description

      It happens very often lately.
      I didn't have time to investigate the reason.
      I called it a random failure because it happens only sometimes.

      Failure:
      BackendApiTest#test_.orphans_should_return_backend_apis_that_do_not_belongs_to_any_service [/opt/app-root/src/project/test/models/backend_api_test.rb:44]
      Minitest::Assertion: --- expected
      +++ actual
      @@ -1 +1 @@
      -[#<BackendApi id: 52, name: "Backend 6", system_name: "backend-api-29", description: "A Backend", private_endpoint: "https://echo-api.3scale.net:443", account_id: 86, created_at: "2019-11-22 12:11:30", updated_at: "2019-11-22 12:11:30", tenant_id: nil, state: "published">]
      +#<ActiveRecord::Relation []>
      

      It happened, for example, here and here.

      Explained the reason in the PR.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mnoyabon Marta Noya (Inactive)
              Marta Noya Marta Noya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: