Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e04a09d

Browse files
ValidationKit: Add an option to configure a local resource cache to reduce the required network bandwidth for frequently used test resources [fix]
svn:sync-xref-src-repo-rev: r170811
1 parent 74ee55b commit e04a09d

File tree

1 file changed

+4
-4
lines changed
  • src/VBox/ValidationKit/testdriver

1 file changed

+4
-4
lines changed

‎src/VBox/ValidationKit/testdriver/base.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# $Id: base.py 111269 2025年10月07日 12:45:01Z alexander.eichner@oracle.com $
2+
# $Id: base.py 111270 2025年10月07日 13:17:20Z alexander.eichner@oracle.com $
33
# pylint: disable=too-many-lines
44

55
"""
@@ -37,7 +37,7 @@
3737
3838
SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
3939
"""
40-
__version__ = "$Revision: 111269 $"
40+
__version__ = "$Revision: 111270 $"
4141

4242

4343
# Standard Python imports.
@@ -923,8 +923,8 @@ def __init__(self):
923923
elif self.sHost == 'solaris': self.sResourcePath = "/mnt/testrsrc/";
924924
elif self.sHost == 'win': self.sResourcePath = "T:/";
925925
else: raise GenError('unknown host OS "%s"' % (self.sHost));
926-
self.sResourcePathCache = getDirEnv( 'TESTBOX_PATH_RESOURCES_CACHE');
927-
self.cbResourceCacheMax = int(getEnv('TESTBOX_PATH_RESOURCES_CACHE_SIZE_MAX', '0'));
926+
self.sResourcePathCache = getDirEnv( 'TESTBOX_PATH_RESOURCES_CACHE');
927+
self.cbResourceCacheMax = int(os.environ.get('TESTBOX_PATH_RESOURCES_CACHE_SIZE_MAX', '0'));
928928

929929
# PID file for the testdriver.
930930
self.sPidFile = os.path.join(self.sScratchPath, 'testdriver.pid');

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /