Opened 3 years ago

Closed 2 years ago

#4983 closed defect (fixed)

Get rid of Sleep() in the WebRequest test

Reported by: hfiguiere Assignee: sergz
Priority: Unknown Milestone:
Module: Libadblockplus Keywords:
Cc: Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29499621/

Description

We should remove the Sleep() in the WebRequest test and use instead either condition variables or promise.

See https://codereview.adblockplus.org/29377825/diff/29378689/test/WebRequest.cpp#newcode86 for the context.

Removing the global state variables too if possible.

Change History (5)

comment:1 Changed 2 years ago by sergz

  • Review URL(s) modified (diff)

comment:2 Changed 2 years ago by sergz

  • Owner set to sergz

comment:3 Changed 2 years ago by sergz

  • Status changed from new to reviewing

comment:4 Changed 2 years ago by abpbot

A commit referencing this issue has landed:
Issue 4983 - Get rid of Sleep() in the WebRequest test

comment:5 Changed 2 years ago by sergz

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.