VirtualBox

Ignore:
Timestamp:
Jul 8, 2019 8:06:30 PM (5 years ago)
Author:
vboxsync
Message:

ValidationKit/tdStorageBenchmark1: Additional logging and revert to old behavior if the result from getfqdn() doesn't yield a disk config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/storage/tdStorageBenchmark1.py

    r79604 r79607  
    12761276        fRc = True;
    12771277        oDiskCfg = self.kdStorageCfgs.get(socket.getfqdn().lower());
     1278        if oDiskCfg is None:
     1279            oDiskCfg = self.kdStorageCfgs.get(socket.gethostname().lower());
    12781280
    12791281        # Test the host first if requested
     
    13331335                    self.cleanupStorage(self.oStorCfg);
    13341336        else:
     1337            reporter.testFailure('Could not get disk configuration for host: %s' % (socket.getfqdn().lower()));
    13351338            fRc = False;
    13361339
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