File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,6 @@ namespace NEO {
14
14
15
15
namespace WaitUtils {
16
16
17
- constexpr uint64_t defaultCounterValue = 10000 ;
18
- constexpr uint32_t defaultControlValue = 0 ;
19
-
20
17
uint64_t waitpkgCounterValue = defaultCounterValue;
21
18
uint32_t waitpkgControlValue = defaultControlValue;
22
19
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ namespace NEO {
17
17
18
18
namespace WaitUtils {
19
19
20
+ constexpr uint64_t defaultCounterValue = 10000 ;
21
+ constexpr uint32_t defaultControlValue = 0 ;
20
22
constexpr uint32_t defaultWaitCount = 1u ;
21
23
22
24
extern uint64_t waitpkgCounterValue;
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ extern unsigned int testCaseMaxTimeInMs;
22
22
23
23
void BaseUltConfigListener::OnTestStart (const ::testing::TestInfo &) {
24
24
WaitUtils::waitpkgUse = false ;
25
+ WaitUtils::waitpkgCounterValue = WaitUtils::defaultCounterValue;
26
+ WaitUtils::waitpkgControlValue = WaitUtils::defaultControlValue;
27
+ WaitUtils::waitCount = WaitUtils::defaultWaitCount;
28
+
25
29
maxOsContextCountBackup = MemoryManager::maxOsContextCount;
26
30
debugVarSnapshot = debugManager.flags ;
27
31
injectFcnSnapshot = debugManager.injectFcn ;
You can’t perform that action at this time.
0 commit comments