VirtualBox

Changeset 45259 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Mar 30, 2013 11:44:39 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84647
Message:

tstRTTcp-1.cpp: testboxsh1 fudging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTTcp-1.cpp

    r45258 r45259  
    4646    {
    4747        PRTTCPSERVER pServer;
    48         int rc = RTTcpServerCreate("localhost", 9999, RTTHREADTYPE_DEFAULT, "server-2",
    49                                    test3Server, NULL, &pServer);
     48        int rc = RTTcpServerCreate("localhost", 9999, RTTHREADTYPE_DEFAULT, "server-2", test3Server, NULL, &pServer);
     49#ifdef RT_OS_SOLARIS
     50        /** @todo testboxsh1 occationally hits this for some stupid reason. i=21 in
     51         *        one occurrence. Fudge a bit for now and see if it helps. */
     52        if (rc == VERR_NET_ADDRESS_IN_USE)
     53        {
     54            RTThreadSleep(500);
     55            rc = RTTcpServerCreate("localhost", 9999, RTTHREADTYPE_DEFAULT, "server-2", test3Server, NULL, &pServer);
     56        }
     57#endif
    5058        if (rc != VINF_SUCCESS)
    5159        {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette