Skip to content

Commit

Permalink
Revert debug changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tkilias committed Aug 25, 2023
1 parent 6cc7a33 commit 5bb0e3e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
processors=[
structlog.contextvars.merge_contextvars,
ConditionalMethodDropper(method_name="debug"),
ConditionalMethodDropper(method_name="info"),
structlog.processors.add_log_level,
structlog.processors.TimeStamper(),
structlog.processors.ExceptionRenderer(exception_formatter=ExceptionDictTransformer(locals_max_string=320)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
processors=[
structlog.contextvars.merge_contextvars,
ConditionalMethodDropper(method_name="debug"),
ConditionalMethodDropper(method_name="info"),
structlog.processors.add_log_level,
structlog.processors.TimeStamper(),
structlog.processors.ExceptionRenderer(exception_formatter=ExceptionDictTransformer(locals_max_string=320)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
processors=[
structlog.contextvars.merge_contextvars,
ConditionalMethodDropper(method_name="debug"),
ConditionalMethodDropper(method_name="info"),
structlog.processors.add_log_level,
structlog.processors.TimeStamper(),
structlog.processors.ExceptionRenderer(exception_formatter=ExceptionDictTransformer(locals_max_string=320)),
Expand Down Expand Up @@ -94,7 +95,7 @@ def test_reliability(number_of_instances: int, repetitions: int):
run_test_with_repetitions(number_of_instances, repetitions)


REPETITIONS_FOR_FUNCTIONALITY = 3
REPETITIONS_FOR_FUNCTIONALITY = 1


def test_functionality_2():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
logger_factory=WriteLoggerFactory(file=Path(__file__).with_suffix(".log").open("wt")),
processors=[
structlog.contextvars.merge_contextvars,
#ConditionalMethodDropper(method_name="debug"),
#ConditionalMethodDropper(method_name="info"),
ConditionalMethodDropper(method_name="debug"),
ConditionalMethodDropper(method_name="info"),
structlog.processors.add_log_level,
structlog.processors.TimeStamper(fmt="ISO"),
structlog.processors.ExceptionRenderer(exception_formatter=ExceptionDictTransformer(locals_max_string=320)),
Expand Down Expand Up @@ -93,7 +93,7 @@ def test_reliability(number_of_instances: int, repetitions: int):
run_test_with_repetitions(number_of_instances, repetitions)


REPETITIONS_FOR_FUNCTIONALITY = 3
REPETITIONS_FOR_FUNCTIONALITY = 1


def test_functionality_2():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_reliability(number_of_instances: int, repetitions: int):
run_test_with_repetitions(number_of_instances, repetitions)


REPETITIONS_FOR_FUNCTIONALITY = 2
REPETITIONS_FOR_FUNCTIONALITY = 1


def test_functionality_2():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_reliability(number_of_instances: int, repetitions: int):
run_test_with_repetitions(number_of_instances, repetitions)


REPETITIONS_FOR_FUNCTIONALITY = 2
REPETITIONS_FOR_FUNCTIONALITY = 1


def test_functionality_2():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_reliability(number_of_instances: int, repetitions: int):
run_test_with_repetitions(number_of_instances, repetitions)


REPETITIONS_FOR_FUNCTIONALITY = 2
REPETITIONS_FOR_FUNCTIONALITY = 1


def test_functionality_2():
Expand Down

0 comments on commit 5bb0e3e

Please sign in to comment.