Changeset d5926ae


Ignore:
Timestamp:
Jul 17, 2023, 4:19:08 PM (10 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
a1467c1
Parents:
e0396d9
Message:

modified waituntil tests to test new features

Location:
tests/concurrency/waituntil
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/waituntil/repeat_close.cfa

    re0396d9 rd5926ae  
    3131    try {
    3232        for( ;; ) {
    33             waituntil( (in << F) ) { F_removes++; }
    34             or waituntil( (in << E) ) { E_removes++; }
    35             or waituntil( (in << D) ) { D_removes++; }
    36             or waituntil( (in << C) ) { C_removes++; }
    37             or waituntil( (in << B) ) { B_removes++; }
    38             or waituntil( (in << A) ) { A_removes++; }
     33            waituntil( remove(F) ) { F_removes++; }
     34            or waituntil( remove(E) ) { E_removes++; }
     35            or waituntil( remove(D) ) { D_removes++; }
     36            or waituntil( remove(C) ) { C_removes++; }
     37            or waituntil( remove(B) ) { B_removes++; }
     38            or waituntil( remove(A) ) { A_removes++; }
    3939        }
    4040    } catchResume ( channel_closed * e ) { } // continue to remove until would block
  • tests/concurrency/waituntil/timeout.cfa

    re0396d9 rd5926ae  
    1515
    1616    assert( count == 1000 );
     17    sleep( 1`ms );
    1718    printf("done\n");
    1819}
Note: See TracChangeset for help on using the changeset viewer.