Changeset 495

Show
Ignore:
Timestamp:
07/15/08 17:41:51 (4 months ago)
Author:
bellmich
Message:

adopted the test to the more complete error escalation of the transport code

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tests/check_obex.c

    r486 r495  
    315315         * or more errors than expected. 
    316316         */ 
    317         while ( (client_disconnect_done + client_errors) < 3) { usleep(50); }; 
     317        while ( (client_disconnect_done + client_errors) < 4) { usleep(50); }; 
    318318 
    319319        fail_unless(client_disconnect_done == 2, NULL); 
    320         fail_unless(client_errors == 1, NULL); 
     320        fail_unless(client_errors == 2, g_strdup_printf("%d", client_errors)); 
    321321         
    322322        smlTransportStop(client);