Updated timeout to align with ci test
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
This commit is contained in:
parent
89fce2057e
commit
e314e2ac4f
1 changed files with 2 additions and 2 deletions
|
|
@ -245,8 +245,8 @@ TEST(TestAsyncOperations, TestManagerAsyncExecutionTimeout)
|
||||||
std::chrono::duration_cast<std::chrono::microseconds>(endSync - startSync)
|
std::chrono::duration_cast<std::chrono::microseconds>(endSync - startSync)
|
||||||
.count();
|
.count();
|
||||||
|
|
||||||
// The time should several orders of magnitude smaller (in this 10k instead of 1m ns)
|
// The time should several orders of magnitude smaller (in this 100k instead of 1m ns)
|
||||||
EXPECT_LT(duration, 10000);
|
EXPECT_LT(duration, 100000);
|
||||||
|
|
||||||
sq1->evalAsync<kp::OpTensorSyncLocal>({ tensorA, tensorB });
|
sq1->evalAsync<kp::OpTensorSyncLocal>({ tensorA, tensorB });
|
||||||
sq1->evalAwait();
|
sq1->evalAwait();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue