Folke Behrens
15fecffe6b
Update ruff to much newer version ( #9433 )
...
Includes a multidict patch release to fix build with newer cpython.
2024-10-18 12:42:41 +02:00
Heikki Linnakangas
72ef0e0fa1
tests: Remove redundant log lines when stopping storage nodes ( #9317 )
...
The neon_cli functions print the command that gets executed, which
contains the same information.
Before:
2024-10-07 22:32:28.884 INFO [neon_fixtures.py:3927] Stopping safekeeper 1
2024-10-07 22:32:28.884 INFO [neon_cli.py:73] Running command "/tmp/neon/bin/neon_local safekeeper stop 1"
2024-10-07 22:32:28.989 INFO [neon_fixtures.py:3927] Stopping safekeeper 2
2024-10-07 22:32:28.989 INFO [neon_cli.py:73] Running command "/tmp/neon/bin/neon_local safekeeper stop 2"
2024-10-07 22:32:29.93 INFO [neon_fixtures.py:3927] Stopping safekeeper 3
2024-10-07 22:32:29.94 INFO [neon_cli.py:73] Running command "/tmp/neon/bin/neon_local safekeeper stop 3"
2024-10-07 22:32:29.251 INFO [neon_cli.py:450] Stopping pageserver with ['pageserver', 'stop', '--id=1']
2024-10-07 22:32:29.251 INFO [neon_cli.py:73] Running command "/tmp/neon/bin/neon_local pageserver stop --id=1"
After:
2024-10-07 22:32:28.884 INFO [neon_cli.py:73] Running command "/tmp/neon/bin/neon_local safekeeper stop 1"
2024-10-07 22:32:28.989 INFO [neon_cli.py:73] Running command "/tmp/neon/bin/neon_local safekeeper stop 2"
2024-10-07 22:32:29.94 INFO [neon_cli.py:73] Running command "/tmp/neon/bin/neon_local safekeeper stop 3"
2024-10-07 22:32:29.251 INFO [neon_cli.py:73] Running command "/tmp/neon/bin/neon_local pageserver stop --id=1"
2024-10-09 15:51:34 +03:00
Tristan Partin
5bd8e2363a
Enable all pyupgrade checks in ruff
...
This will help to keep us from using deprecated Python features going
forward.
Signed-off-by: Tristan Partin <tristan@neon.tech >
2024-10-08 14:32:26 -05:00
Heikki Linnakangas
52232dd85c
tests: Add a comment explaining the rules of NeonLocalCli wrappers ( #9195 )
2024-10-03 22:03:29 +03:00
Heikki Linnakangas
8ef0c38b23
tests: Rename NeonLocalCli functions to match the 'neon_local' commands ( #9195 )
...
This makes it more clear that the functions in NeonLocalCli are just
typed wrappers around the corresponding 'neon_local' commands.
2024-10-03 22:03:27 +03:00
Heikki Linnakangas
56bb1ac458
tests: Move NeonCli and friends to separate file ( #9195 )
...
In the passing, rename it to NeonLocalCli, to reflect that the binary
is called 'neon_local'.
Add wrapper for the 'timeline_import' command, eliminating the last
raw call to the raw_cli() function from tests, except for a few in
test_neon_cli.py which are about testing the 'neon_local' iteself. All
the other calls are now made through the strongly-typed wrapper
functions
2024-10-03 22:03:25 +03:00