Skip to content

Commit 198b0ca

Browse files
committedFeb 8, 2024
PR comments, typos, cleanup
1 parent ee6283b commit 198b0ca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

‎downstairs/src/repair.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ async fn get_region_info(
269269
Ok(HttpResponseOk(region_definition))
270270
}
271271

272-
/// Return the RegionDefinition describing our region.
272+
/// Return the region-mode describing our region.
273273
#[endpoint {
274274
method = GET,
275275
path = "/region-mode",

‎integration_tests/src/lib.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -2820,7 +2820,7 @@ mod test {
28202820

28212821
#[tokio::test]
28222822
async fn integration_test_clone_diff_ec() -> Result<()> {
2823-
// Test downstairs replacement.
2823+
// Test downstairs region clone.
28242824
// Verify different extent count will fail.
28252825

28262826
let mut ds_one = TestDownstairs::new(
@@ -2856,7 +2856,7 @@ mod test {
28562856

28572857
#[tokio::test]
28582858
async fn integration_test_clone_diff_es() -> Result<()> {
2859-
// Test downstairs replacement.
2859+
// Test downstairs region clone.
28602860
// Verify different extent size will fail.
28612861

28622862
let mut ds_one = TestDownstairs::new(
@@ -2892,8 +2892,8 @@ mod test {
28922892

28932893
#[tokio::test]
28942894
async fn integration_test_clone_not_ro() -> Result<()> {
2895-
// Test downstairs replacement.
2896-
// Verify you can't replace from a RW downstairs
2895+
// Test downstairs region clone.
2896+
// Verify you can't clone from a RW downstairs
28972897

28982898
let ds_one = TestDownstairs::new(
28992899
"127.0.0.1".parse().unwrap(),
@@ -2927,7 +2927,7 @@ mod test {
29272927

29282928
#[tokio::test]
29292929
async fn integration_test_clone_diff_encrypted() -> Result<()> {
2930-
// Test downstairs replacement.
2930+
// Test downstairs region clone.
29312931
// Verify downstairs encryption state must match.
29322932

29332933
let ds_one = TestDownstairs::new(

0 commit comments

Comments
 (0)