mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
Make clippy happy
This commit is contained in:
@@ -640,7 +640,7 @@ async fn import_file(
|
||||
{
|
||||
let bytes = read_all_bytes(reader).await?;
|
||||
modification
|
||||
.put_file(&file_path.to_str().unwrap(), &bytes, ctx)
|
||||
.put_file(file_path.to_str().unwrap(), &bytes, ctx)
|
||||
.await?;
|
||||
debug!("imported aux file \"{}\"", file_path.display());
|
||||
} else {
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
import pytest
|
||||
from fixtures.neon_fixtures import NeonEnv
|
||||
from fixtures.neon_fixtures import AuxFileStore, NeonEnv
|
||||
from fixtures.pg_version import PgVersion
|
||||
|
||||
|
||||
#
|
||||
# Test that pgstat statistic is preserved across sessions
|
||||
#
|
||||
@pytest.mark.parametrize(
|
||||
"pageserver_aux_file_policy", [AuxFileStore.V1, AuxFileStore.V2, AuxFileStore.CrossValidation]
|
||||
)
|
||||
def test_pgstat(neon_simple_env: NeonEnv):
|
||||
env = neon_simple_env
|
||||
if env.pg_version == PgVersion.V14:
|
||||
|
||||
Reference in New Issue
Block a user