Project

General

Profile

Actions

Bug #18239

closed

Intermittent AboutIntegrationTest.test_0002_about page failures, AJAX expectations not satisfied

Added by Dominic Cleal about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Since #16700, the following AboutIntegrationTest fails intermittently:

AboutIntegrationTest.test_0002_about page proxies should have version
not all expectations were satisfied
unsatisfied expectations:
- expected at least once, not yet invoked: #<AnyInstance:ComputeResource(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text)>.ping(any_parameters)
- expected at least once, not yet invoked: #<Mock:ProxyStatus::Version>.version(any_parameters)
- expected at least once, not yet invoked: #<AnyInstance:SmartProxy(id: integer, name: string, url: string, created_at: datetime, updated_at: datetime, expired_logs: string)>.statuses(any_parameters)
 (Minitest::Assertion)
/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.0.0/slave/fast/test/integration/about_test.rb:5    

(took 8.3 sec)

Possibly the test is completing the AJAX calls have started, so the expectations on the AJAX calls themselves are never satisfied.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #16700: Intermittent AboutIntegrationTest.test_0001_about page integration test failuresClosedDominic Cleal09/27/2016Actions
Actions #1

Updated by Dominic Cleal about 7 years ago

  • Related to Bug #16700: Intermittent AboutIntegrationTest.test_0001_about page integration test failures added
Actions #2

Updated by The Foreman Bot about 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4229 added
Actions #3

Updated by Dominic Cleal about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal about 7 years ago

  • translation missing: en.field_release set to 209
Actions

Also available in: Atom PDF