Skip to content

Commit 251835b

Browse files
docs(testkit): point the sandbox suffix note at MAX_SANDBOX_NAME_LEN
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
1 parent 9edb685 commit 251835b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/testkit/testkit/src/context.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ impl Context {
122122

123123
/// A resource name unique to this run: `test-<run-id>-<suffix>`.
124124
///
125-
/// The gateway limits sandbox names to 19 characters, so a sandbox
126-
/// suffix can have at most 5.
125+
/// Sandbox names can't exceed [`MAX_SANDBOX_NAME_LEN`], so a sandbox
126+
/// suffix can have at most 5 characters.
127127
pub fn name(&self, suffix: &str) -> String {
128128
format!("test-{}-{suffix}", self.run_id)
129129
}

0 commit comments

Comments
 (0)