VirtualBox

Ignore:
Timestamp:
Nov 26, 2018 3:53:20 PM (6 years ago)
Author:
vboxsync
Message:

ValidationKit/Tests/usb/usbgadget.py: Need to check for WSAEWOULDBLOCK on Windows when connecting to the remote host is in progress, should fix USB test failure observed on testboxsky7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/usb/usbgadget.py

    r71983 r75738  
    982982                        return True;
    983983                except: pass;
    984                 # Windows?
    985984                try:
    986985                    if oXcpt[0] == errno.EWOULDBLOCK:
     986                        return True;
     987                    if utils.getHostOs == 'win' and oXcpt[0] == errno.WSAEWOULDBLOCK: # pylint: disable=E1101
    987988                        return True;
    988989                except: pass;
Note: See TracChangeset for help on using the changeset viewer.

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