Skip to content

[SR-3110] libdispatch - FAIL dispatch_suspend_timer (exit status: 1) #712

Closed
@shahmishal

Description

@shahmishal
Previous ID SR-3110
Radar None
Original Reporter @shahmishal
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s libdispatch
Labels Bug
Assignee dgrove-oss (JIRA)
Priority Medium

Watchers: @shahmishal

md5: be96691d4fc61dba8b42feb0fb564b98

duplicates:

  • SR-2931 libdispatch dispatch_suspend_timer test needs robustification

Issue Description:

==================================================
[TEST] Dispatch Suspend Timer
[PID] 28804

[BEGIN] dispatch_source_timer_create
Actual: 0xe85180
Expected: 0xe85180
[PASS] dispatch_source_timer_create

[BEGIN] dispatch_source_timer_create
Actual: 0xe878a0
Expected: 0xe878a0
[PASS] dispatch_source_timer_create
tweedledee 1 (1)
tweedledee 2 (2)
tweedledee 3 (3)
suspending timer for 3 seconds
resuming timer

[BEGIN] tweedledee tick count
Actual: 3
Expected: 3
[PASS] tweedledee tick count

[BEGIN] tweedledee virtual tick count
Actual: 3
Expected: 3
[PASS] tweedledee virtual tick count
tweedledee 4 (6)
tweedledee 5 (6)
tweedledee 6 (7)
tweedledee 7 (8)
tweedledee 8 (9)

[BEGIN] tweedledee tick count
Actual: 8
Expected: 7
[FAIL] tweedledee tick count (dispatch_suspend_timer.c:96)
dispatch_suspend_timer.c:96

[BEGIN] tweedledee virtual tick count
Actual: 9
Expected: 9
[PASS] tweedledee virtual tick count

[BEGIN] finalizer ran
Actual: 0xe878a0
Expected: 0xe878a0
[PASS] finalizer ran

[BEGIN] Process exited
Actual: 0
Expected: 0
[PASS] Process exited
[PERF] wall time: 0.000089
[PERF] user time: 1.468000
[PERF] system time: 6.444000
[PERF] max resident set size: 17576
[PERF] page faults: 0
[PERF] swaps: 0
[PERF] voluntary context switches: 1482154
[PERF] involuntary context switches: 214
FAIL dispatch_suspend_timer (exit status: 1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions