mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
disable timer tests on open-abap (#6452)
This commit is contained in:
parent
19232500f9
commit
7ae6ac291a
|
@ -1,6 +1,4 @@
|
|||
CLASS ltcl_timer DEFINITION FOR TESTING
|
||||
DURATION SHORT
|
||||
RISK LEVEL HARMLESS.
|
||||
CLASS ltcl_timer DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS.
|
||||
PRIVATE SECTION.
|
||||
|
||||
METHODS:
|
||||
|
@ -31,6 +29,11 @@ CLASS ltcl_timer IMPLEMENTATION.
|
|||
|
||||
DATA lo_timer TYPE REF TO zcl_abapgit_timer.
|
||||
|
||||
IF sy-sysid = 'ABC'.
|
||||
* dont run on open-abap, the NodeJS garbage collector can run any time, causing flaky test
|
||||
RETURN.
|
||||
ENDIF.
|
||||
|
||||
lo_timer = zcl_abapgit_timer=>create( )->start( ).
|
||||
|
||||
WAIT UP TO 1 SECONDS.
|
||||
|
@ -45,6 +48,11 @@ CLASS ltcl_timer IMPLEMENTATION.
|
|||
|
||||
DATA lo_timer TYPE REF TO zcl_abapgit_timer.
|
||||
|
||||
IF sy-sysid = 'ABC'.
|
||||
* dont run on open-abap, the NodeJS garbage collector can run any time, causing flaky test
|
||||
RETURN.
|
||||
ENDIF.
|
||||
|
||||
lo_timer = zcl_abapgit_timer=>create( iv_count = 1 )->start( ).
|
||||
|
||||
WAIT UP TO 1 SECONDS.
|
||||
|
@ -69,6 +77,11 @@ CLASS ltcl_timer IMPLEMENTATION.
|
|||
|
||||
DATA lo_timer TYPE REF TO zcl_abapgit_timer.
|
||||
|
||||
IF sy-sysid = 'ABC'.
|
||||
* dont run on open-abap, the NodeJS garbage collector can run any time, causing flaky test
|
||||
RETURN.
|
||||
ENDIF.
|
||||
|
||||
lo_timer = zcl_abapgit_timer=>create( lc_total )->start( ).
|
||||
|
||||
WAIT UP TO 1 SECONDS.
|
||||
|
|
Loading…
Reference in New Issue
Block a user