kfdtest: increase test timeout and optimize evict tests timeout
there are some timeout issues of evict tests on recent new boards,
it is to solve those issues and optimize evict timeout, as well
as to give user a chance to change timeout in command line.
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Change-Id: I2f40c8ea809c55675b0d0b62296b663481e5fb16
[ROCm/ROCR-Runtime commit: 09b899b079]
这个提交包含在:
1 父节点
b552e9d15d
当前提交
c931ec17d4
3 个文件已更改
+3
-3
没有与搜索条件相匹配的文件
@@ -486,7 +486,7 @@ TEST_F(KFDEvictTest, QueueTest) {
|
||||
addrBuffer.Fill(0x5678);
|
||||
|
||||
/* Wait for shader to finish or timeout if shader has vm page fault */
|
||||
EXPECT_EQ(0, dispatch0.SyncWithStatus(180000));
|
||||
EXPECT_EQ(0, dispatch0.SyncWithStatus(g_TestTimeOut * 5));
|
||||
|
||||
EXPECT_SUCCESS(pm4Queue.Destroy());
|
||||
|
||||
|
||||
@@ -399,7 +399,7 @@ TEST_P(KFDSVMEvictTest, QueueTest) {
|
||||
addrBuffer.Fill(0x5678);
|
||||
|
||||
/* wait for shader to finish or timeout if shade has vm page fault */
|
||||
dispatch0.SyncWithStatus(120000);
|
||||
dispatch0.SyncWithStatus(g_TestTimeOut * 5);
|
||||
|
||||
ASSERT_SUCCESS(pm4Queue.Destroy());
|
||||
/* LOG() << m_psName << "free buffer" << std::endl; */
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "GoogleTestExtension.hpp"
|
||||
#include "OSWrapper.hpp"
|
||||
|
||||
#define KFD_TEST_DEFAULT_TIMEOUT 10000
|
||||
#define KFD_TEST_DEFAULT_TIMEOUT 60000
|
||||
|
||||
std::ostream& operator << (std::ostream& out, TESTPROFILE profile) {
|
||||
switch (profile) {
|
||||
|
||||
在新工单中引用
屏蔽一个用户