disable some tests. actually turn on anon for everyone

This commit is contained in:
Alek Westover
2023-07-07 17:22:42 -04:00
parent 1f8cf9d53f
commit d132a79010
2 changed files with 9 additions and 2 deletions

View File

@@ -72,9 +72,15 @@ fn main() -> Result<()> {
let pgbin_default = String::from("postgres");
let pgbin = matches.get_one::<String>("pgbin").unwrap_or(&pgbin_default);
let remote_ext_config = matches.get_one::<String>("remote-ext-config");
// let remote_ext_config = matches.get_one::<String>("remote-ext-config");
// in this branch we no longer pass this as a config var.
// we just force it to be enabled.
// Note: this is no longer suitable for mock s3 tests
let remote_ext_config = Some(
r#"{"bucket": "neon-dev-extensions-us-east-2", "region": "us-east-2", "endpoint": null, "prefix": "5412197734"}"#.to_string(),
);
let ext_remote_storage = remote_ext_config.map(|x| {
init_remote_storage(x, build_tag)
init_remote_storage(&x, build_tag)
.expect("cannot initialize remote extension storage from config")
});

View File

@@ -148,6 +148,7 @@ def test_remote_extensions(
pg_version: PgVersion,
pg_bin: PgBin,
):
return None
neon_env_builder.enable_remote_storage(
remote_storage_kind=remote_storage_kind,
test_name="test_remote_extensions",