test(iam): create legacy migration bucket through store (#6517)

This commit is contained in:
Zhengchao An
2026-08-24 18:33:08 +08:00
committed by GitHub
parent ade7e320da
commit fe453b7f5b
+1 -5
View File
@@ -97,11 +97,7 @@ async fn minio_permanent_identities_survive_migration_and_repeated_iam_loads() {
.init_bucket_metadata(false) .init_bucket_metadata(false)
.build() .build()
.await; .await;
for disk_path in &env.disk_paths { env.make_bucket(LEGACY_META_BUCKET, false).await;
tokio::fs::create_dir_all(disk_path.join(LEGACY_META_BUCKET))
.await
.expect("legacy metadata volume must be created");
}
let regular_source = json!({ let regular_source = json!({
"version": 1, "version": 1,