Skip to content

Commit c5f3c9f

Browse files
committed
default_policy: tests: fix typo
(going) though->through (the ring)
1 parent 105005c commit c5f3c9f

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

scylla/src/transport/load_balancing/default.rs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ mod tests {
12021202
consistency: Consistency::Two,
12031203
..Default::default()
12041204
},
1205-
// going though the ring, we get order: F , A , C , D , G , B , E
1205+
// going through the ring, we get order: F , A , C , D , G , B , E
12061206
// us eu eu us eu eu us
12071207
// r2 r1 r1 r1 r2 r1 r1
12081208
expected_groups: ExpectedGroupsBuilder::new()
@@ -1227,7 +1227,7 @@ mod tests {
12271227
consistency: Consistency::Two,
12281228
..Default::default()
12291229
},
1230-
// going though the ring, we get order: F , A , C , D , G , B , E
1230+
// going through the ring, we get order: F , A , C , D , G , B , E
12311231
// us eu eu us eu eu us
12321232
// r2 r1 r1 r1 r2 r1 r1
12331233
expected_groups: ExpectedGroupsBuilder::new()
@@ -1251,7 +1251,7 @@ mod tests {
12511251
consistency: Consistency::LocalOne, // local Consistency forbids datacenter failover
12521252
..Default::default()
12531253
},
1254-
// going though the ring, we get order: F , A , C , D , G , B , E
1254+
// going through the ring, we get order: F , A , C , D , G , B , E
12551255
// us eu eu us eu eu us
12561256
// r2 r1 r1 r1 r2 r1 r1
12571257
expected_groups: ExpectedGroupsBuilder::new()
@@ -1273,7 +1273,7 @@ mod tests {
12731273
consistency: Consistency::One,
12741274
..Default::default()
12751275
},
1276-
// going though the ring, we get order: F , A , C , D , G , B , E
1276+
// going through the ring, we get order: F , A , C , D , G , B , E
12771277
// us eu eu us eu eu us
12781278
// r2 r1 r1 r1 r2 r1 r1
12791279
expected_groups: ExpectedGroupsBuilder::new()
@@ -1295,7 +1295,7 @@ mod tests {
12951295
consistency: Consistency::Quorum,
12961296
..Default::default()
12971297
},
1298-
// going though the ring, we get order: F , A , C , D , G , B , E
1298+
// going through the ring, we get order: F , A , C , D , G , B , E
12991299
// us eu eu us eu eu us
13001300
// r2 r1 r1 r1 r2 r1 r1
13011301
expected_groups: ExpectedGroupsBuilder::new()
@@ -1320,7 +1320,7 @@ mod tests {
13201320
consistency: Consistency::Quorum,
13211321
..Default::default()
13221322
},
1323-
// going though the ring, we get order: F , A , C , D , G , B , E
1323+
// going through the ring, we get order: F , A , C , D , G , B , E
13241324
// us eu eu us eu eu us
13251325
// r2 r1 r1 r1 r2 r1 r1
13261326
expected_groups: ExpectedGroupsBuilder::new()
@@ -1344,7 +1344,7 @@ mod tests {
13441344
consistency: Consistency::Quorum,
13451345
..Default::default()
13461346
},
1347-
// going though the ring, we get order: F , A , C , D , G , B , E
1347+
// going through the ring, we get order: F , A , C , D , G , B , E
13481348
// us eu eu us eu eu us
13491349
// r2 r1 r1 r1 r2 r1 r1
13501350
expected_groups: ExpectedGroupsBuilder::new()
@@ -1366,7 +1366,7 @@ mod tests {
13661366
consistency: Consistency::Two,
13671367
..Default::default()
13681368
},
1369-
// going though the ring, we get order: F , A , C , D , G , B , E
1369+
// going through the ring, we get order: F , A , C , D , G , B , E
13701370
// us eu eu us eu eu us
13711371
// r2 r1 r1 r1 r2 r1 r1
13721372
expected_groups: ExpectedGroupsBuilder::new()
@@ -1390,7 +1390,7 @@ mod tests {
13901390
consistency: Consistency::LocalOne, // local Consistency forbids datacenter failover
13911391
..Default::default()
13921392
},
1393-
// going though the ring, we get order: F , A , C , D , G , B , E
1393+
// going through the ring, we get order: F , A , C , D , G , B , E
13941394
// us eu eu us eu eu us
13951395
// r2 r1 r1 r1 r2 r1 r1
13961396
expected_groups: ExpectedGroupsBuilder::new()
@@ -1450,7 +1450,7 @@ mod tests {
14501450
consistency: Consistency::Quorum,
14511451
..Default::default()
14521452
},
1453-
// going though the ring, we get order: F , A , C , D , G , B , E
1453+
// going through the ring, we get order: F , A , C , D , G , B , E
14541454
// us eu eu us eu eu us
14551455
// r2 r1 r1 r1 r2 r1 r1
14561456
expected_groups: ExpectedGroupsBuilder::new()
@@ -1472,7 +1472,7 @@ mod tests {
14721472
consistency: Consistency::Quorum,
14731473
..Default::default()
14741474
},
1475-
// going though the ring, we get order: F , A , C , D , G , B , E
1475+
// going through the ring, we get order: F , A , C , D , G , B , E
14761476
// us eu eu us eu eu us
14771477
// r2 r1 r1 r1 r2 r1 r1
14781478
expected_groups: ExpectedGroupsBuilder::new().build(), // empty plan, because all nodes are remote and failover is forbidden
@@ -1491,7 +1491,7 @@ mod tests {
14911491
consistency: Consistency::Quorum,
14921492
..Default::default()
14931493
},
1494-
// going though the ring, we get order: F , A , C , D , G , B , E
1494+
// going through the ring, we get order: F , A , C , D , G , B , E
14951495
// us eu eu us eu eu us
14961496
// r2 r1 r1 r1 r2 r1 r1
14971497
expected_groups: ExpectedGroupsBuilder::new()
@@ -1513,7 +1513,7 @@ mod tests {
15131513
consistency: Consistency::Quorum,
15141514
..Default::default()
15151515
},
1516-
// going though the ring, we get order: F , A , C , D , G , B , E
1516+
// going through the ring, we get order: F , A , C , D , G , B , E
15171517
// us eu eu us eu eu us
15181518
// r2 r1 r1 r1 r2 r1 r1
15191519
expected_groups: ExpectedGroupsBuilder::new()
@@ -1538,7 +1538,7 @@ mod tests {
15381538
consistency: Consistency::One,
15391539
..Default::default()
15401540
},
1541-
// going though the ring, we get order: F , A , C , D , G , B , E
1541+
// going through the ring, we get order: F , A , C , D , G , B , E
15421542
// us eu eu us eu eu us
15431543
// r2 r1 r1 r1 r2 r1 r1
15441544
expected_groups: ExpectedGroupsBuilder::new()
@@ -1566,7 +1566,7 @@ mod tests {
15661566
consistency: Consistency::Two,
15671567
..Default::default()
15681568
},
1569-
// going though the ring, we get order: B , C , E , G , A , F , D
1569+
// going through the ring, we get order: B , C , E , G , A , F , D
15701570
// eu eu us eu eu us us
15711571
// r1 r1 r1 r2 r1 r2 r1
15721572
expected_groups: ExpectedGroupsBuilder::new()
@@ -1592,7 +1592,7 @@ mod tests {
15921592
consistency: Consistency::One,
15931593
..Default::default()
15941594
},
1595-
// going though the ring, we get order: F , A , C , D , G , B , E
1595+
// going through the ring, we get order: F , A , C , D , G , B , E
15961596
// us eu eu us eu eu us
15971597
// r2 r1 r1 r1 r2 r1 r1
15981598
expected_groups: ExpectedGroupsBuilder::new()
@@ -2765,7 +2765,7 @@ mod latency_awareness {
27652765
consistency: Consistency::Quorum,
27662766
..Default::default()
27672767
},
2768-
// going though the ring, we get order: F , A , C , D , G , B , E
2768+
// going through the ring, we get order: F , A , C , D , G , B , E
27692769
// us eu eu us eu eu us
27702770
// r2 r1 r1 r1 r2 r1 r1
27712771
expected_groups: ExpectedGroupsBuilder::new()
@@ -2791,7 +2791,7 @@ mod latency_awareness {
27912791
(C, slow_penalised()),
27922792
(D, slow_penalised()),
27932793
],
2794-
// going though the ring, we get order: F , A , C , D , G , B , E
2794+
// going through the ring, we get order: F , A , C , D , G , B , E
27952795
// us eu eu us eu eu us
27962796
// r2 r1 r1 r1 r2 r1 r1
27972797
expected_groups: ExpectedGroupsBuilder::new()
@@ -2814,7 +2814,7 @@ mod latency_awareness {
28142814
consistency: Consistency::Quorum,
28152815
..Default::default()
28162816
},
2817-
// going though the ring, we get order: F , A , C , D , G , B , E
2817+
// going through the ring, we get order: F , A , C , D , G , B , E
28182818
// us eu eu us eu eu us
28192819
// r2 r1 r1 r1 r2 r1 r1
28202820
expected_groups: ExpectedGroupsBuilder::new()

0 commit comments

Comments
 (0)