Skip to content

Commit 6d42ccb

Browse files
committed
MB-46365: Print opcode as int
The test harness uses Invalid opcode which breaks the history dump due to to_string throwing. Change-Id: I7d7e462d1d6c9f08c3c6cd9d960d63a0fc2d94b1 Reviewed-on: http://review.couchbase.org/c/kv_engine/+/156249 Reviewed-by: Dave Rigby <[email protected]> Tested-by: Build Bot <[email protected]>
1 parent 29bb600 commit 6d42ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engines/ep/tests/ep_testsuite_dcp.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ void TestDcpConsumer::run(bool openConn) {
438438
<< std::endl;
439439
std::cerr << "DCP history:" << std::endl;
440440
for (auto entry : history) {
441-
std::cerr << entry.first << " " << entry.second
441+
std::cerr << int(entry.first) << " " << entry.second
442442
<< std::endl;
443443
}
444444
check(false, "Aborting");

0 commit comments

Comments
 (0)