Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
qinzuoyan committed Jan 14, 2019
1 parent 53fa032 commit 65be386
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/tests/service_api_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ TEST(core, dsn_file)
ASSERT_NE(nullptr, tin);

if (dsn::tools::get_current_tool()->name() != "simulator") {
// 1 for tin, 1 for disk_engine
ASSERT_EQ(2, tin->get_count());
// at least 1 for tin, but if already read completed, then only 1
ASSERT_LE(1, tin->get_count());
}

tin->wait();
Expand Down
2 changes: 1 addition & 1 deletion src/dist/replication/test/simple_kv/case-402.act
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ client:begin_write:id=169,key=k169,value=v169,timeout=0
inject:on_aio_call:node=r2,task_code=LPC_WRITE_REPLICATION_LOG_SHARED
config:{4,r1,[r3]}

state:{{r1,pri,4,23},{r3,sec,4,20}}
state:{{r1,pri,4,23},{r3,sec,4,21}}

set:disable_load_balance=0

Expand Down

0 comments on commit 65be386

Please sign in to comment.