Skip to content

Commit 62a7ff8

Browse files
committed
increase timeout for E2BIG test
Change-Id: Iebc697fa66918755979450ca96f4e3681813220f Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/168843 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Brett Lawson <brett19@gmail.com>
1 parent a3ed6a0 commit 62a7ff8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/iotests/t_misc.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,8 @@ TEST_F(MockUnitTest, testAppendE2BIG)
936936
lcb_cmdstore_create(&scmd, LCB_STORE_UPSERT);
937937
lcb_cmdstore_key(scmd, key, nkey);
938938
lcb_cmdstore_value(scmd, (const char *)value1, nvalue1);
939+
/* connection to cbdyncluster might be slow, and uploading 20MiB takes some time */
940+
lcb_cmdstore_timeout(scmd, 60000000 /* 60 seconds */);
939941
err = lcb_store(instance, &res, scmd);
940942
ASSERT_EQ(LCB_SUCCESS, err);
941943
lcb_cmdstore_destroy(scmd);

0 commit comments

Comments
 (0)