From cbd9fd9ef5766a454f05bb45bcb204e7528de1d6 Mon Sep 17 00:00:00 2001
From: Ed Page <eopage@gmail.com>
Date: Thu, 7 Sep 2023 22:06:30 +0000
Subject: [PATCH] test(registry): Provide more room from tests conflicting with
 reality

---
 tests/testsuite/registry.rs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/testsuite/registry.rs b/tests/testsuite/registry.rs
index 0569249e07fc..2181f2ebb2b4 100644
--- a/tests/testsuite/registry.rs
+++ b/tests/testsuite/registry.rs
@@ -2604,7 +2604,9 @@ fn ignores_unknown_index_version_git() {
 fn ignores_unknown_index_version() {
     // If the version field is not understood, it is ignored.
     Package::new("bar", "1.0.0").publish();
-    Package::new("bar", "1.0.1").schema_version(9999).publish();
+    Package::new("bar", "1.0.1")
+        .schema_version(u32::MAX)
+        .publish();
 
     let p = project()
         .file(