mirror of
https://github.com/dragonflydb/dragonfly
synced 2024-11-21 15:11:20 +00:00
chore: upload all the logs from /tmp (#3263)
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
3506ee0a14
commit
d8946247df
2
.github/workflows/regression-tests.yml
vendored
2
.github/workflows/regression-tests.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: logs
|
||||
path: /tmp/failed/*
|
||||
path: /tmp/dragonfly.*
|
||||
|
||||
lint-test-chart:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -19,7 +19,7 @@ import time
|
||||
from copy import deepcopy
|
||||
|
||||
from pathlib import Path
|
||||
from tempfile import TemporaryDirectory
|
||||
from tempfile import TemporaryDirectory, gettempdir
|
||||
|
||||
from .instance import DflyInstance, DflyParams, DflyInstanceFactory, RedisServer
|
||||
from . import PortPicker, dfly_args
|
||||
@ -82,6 +82,7 @@ def df_factory(request, tmp_dir, test_env) -> DflyInstanceFactory:
|
||||
"""
|
||||
Create an instance factory with supplied params.
|
||||
"""
|
||||
os.makedirs(os.path.join(gettempdir(), "tiered"), exist_ok=True)
|
||||
scripts_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
path = os.environ.get("DRAGONFLY_PATH", os.path.join(scripts_dir, "../../build-dbg/dragonfly"))
|
||||
|
||||
@ -327,6 +328,7 @@ def with_ca_tls_client_args(with_tls_client_args, with_tls_ca_cert_args):
|
||||
|
||||
|
||||
def copy_failed_logs_and_clean_tmp_folder(report):
|
||||
return # TODO: to fix it first and then enable it.
|
||||
failed_path = "/tmp/failed"
|
||||
path_exists = os.path.exists(failed_path)
|
||||
if not path_exists:
|
||||
|
@ -10,7 +10,7 @@ from .seeder import StaticSeeder
|
||||
from .utility import info_tick_timer
|
||||
|
||||
|
||||
BASIC_ARGS = {"port": 6379, "proactor_threads": 4, "tiered_prefix": "/tmp/tiering_test_backing"}
|
||||
BASIC_ARGS = {"port": 6379, "proactor_threads": 4, "tiered_prefix": "/tmp/tiered/backing"}
|
||||
|
||||
|
||||
@pytest.mark.skip("Requires evaluating runner performance first")
|
||||
|
Loading…
Reference in New Issue
Block a user