Skip to content

Commit b9843db

Browse files
generatedunixname537391475639613meta-codesync[bot]
authored andcommitted
fbcode/dwio/nimble/tablet/tests (facebookincubator#407)
Summary: Pull Request resolved: facebookincubator#407 Reviewed By: sdruzkin Differential Revision: D90011593 fbshipit-source-id: 9c680bc00132cdbaa52a2146855d8f79660f5192
1 parent 18a98c5 commit b9843db

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dwio/nimble/tablet/tests/TabletTest.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,9 +1480,9 @@ TEST_F(TabletWithIndexTest, stripeIdentifier) {
14801480
&writeFile,
14811481
*pool_,
14821482
{
1483-
.indexConfig = indexConfig,
14841483
.metadataFlushThreshold = 1024 * 1024 * 1024,
14851484
.streamDeduplicationEnabled = false,
1485+
.indexConfig = indexConfig,
14861486
});
14871487

14881488
nimble::Buffer buffer{*pool_};
@@ -1535,10 +1535,10 @@ TEST_F(TabletWithIndexTest, singleGroup) {
15351535
&writeFile,
15361536
*pool_,
15371537
{
1538-
.indexConfig = indexConfig,
15391538
// Set a large threshold to ensure all stripes stay in one group
15401539
.metadataFlushThreshold = 1024 * 1024 * 1024,
15411540
.streamDeduplicationEnabled = false,
1541+
.indexConfig = indexConfig,
15421542
});
15431543

15441544
nimble::Buffer buffer{*pool_};
@@ -1956,10 +1956,10 @@ TEST_F(TabletWithIndexTest, multipleGroups) {
19561956
&writeFile,
19571957
*pool_,
19581958
{
1959-
.indexConfig = indexConfig,
19601959
// Set threshold to 0 to force flush after every stripe
19611960
.metadataFlushThreshold = 0,
19621961
.streamDeduplicationEnabled = false,
1962+
.indexConfig = indexConfig,
19631963
});
19641964

19651965
nimble::Buffer buffer{*pool_};
@@ -2331,10 +2331,10 @@ TEST_F(TabletWithIndexTest, singleGroupWithEmptyStream) {
23312331
&writeFile,
23322332
*pool_,
23332333
{
2334-
.indexConfig = indexConfig,
23352334
// Set a large threshold to ensure all stripes stay in one group
23362335
.metadataFlushThreshold = 1024 * 1024 * 1024,
23372336
.streamDeduplicationEnabled = false,
2337+
.indexConfig = indexConfig,
23382338
});
23392339

23402340
nimble::Buffer buffer{*pool_};
@@ -2745,10 +2745,10 @@ TEST_F(TabletWithIndexTest, multipleGroupsWithEmptyStream) {
27452745
&writeFile,
27462746
*pool_,
27472747
{
2748-
.indexConfig = indexConfig,
27492748
// Set threshold to 0 to force flush after every stripe
27502749
.metadataFlushThreshold = 0,
27512750
.streamDeduplicationEnabled = false,
2751+
.indexConfig = indexConfig,
27522752
});
27532753

27542754
nimble::Buffer buffer{*pool_};
@@ -3217,9 +3217,9 @@ TEST_F(TabletWithIndexTest, streamDeduplication) {
32173217
&writeFile,
32183218
*pool_,
32193219
{
3220-
.indexConfig = indexConfig,
32213220
.metadataFlushThreshold = 1024 * 1024 * 1024,
32223221
.streamDeduplicationEnabled = true,
3222+
.indexConfig = indexConfig,
32233223
});
32243224

32253225
nimble::Buffer buffer{*pool_};

0 commit comments

Comments
 (0)