Make test deterministic

Related-To: NEO-6611
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-05-18 18:25:41 +00:00
committed by Compute-Runtime-Automation
parent 2ad04efd16
commit 5f38555af5

View File

@ -671,11 +671,11 @@ TEST(FileLogger, GivenNullsWhenDumpingKernelArgsThenFileIsNotCreated) {
}
TEST(FileLogger, GivenDisabledDebugFunctionalityWhenLoggingThenDumpingDoesNotOccur) {
std::string path = ".";
std::string path = "ocl_test";
std::vector<std::string> files = Directory::getFiles(path);
size_t initialNumberOfFiles = files.size();
std::string testFile = "testfile";
std::string testFile = "ocl_test/testfile";
DebugVariables flags;
flags.DumpKernels.set(true);
flags.LogApiCalls.set(true);