Project

General

Profile

Actions

Bug #18239

closed

Intermittent AboutIntegrationTest.test_0002_about page failures, AJAX expectations not satisfied

Added by Dominic Cleal almost 8 years ago. Updated over 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

Also available in: Atom PDF