Riccardo Magliocchetti

Results 104 issues of Riccardo Magliocchetti

# Description And then remove a bunch of dirs from the exclude list. Not sure if the code changes in SimpleSpanProcessor requires some tests with a span without context. ##...

Skip Changelog

``` ____________ test_flushed_arg_with_wait[sending_elasticapm_client0] ____________ sending_elasticapm_client = @pytest.mark.skipif(platform.system() == "Windows", reason="Flaky test on windows") @pytest.mark.flaky(reruns=3) # Trying to test automatic flushes is inherently flaky @pytest.mark.parametrize("sending_elasticapm_client", [{"api_request_time": "100ms"}], indirect=True) def test_flushed_arg_with_wait(sending_elasticapm_client): sending_elasticapm_client.begin_transaction("test_type")...

agent-python

Threads and sleeps involved what can go wrong :) ``` _____________ test_kafka_consumer_ignore_topic_ongoing_transaction _____________ instrument = None elasticapm_client = producer = consumer = topics = ['test', 'foo', 'bar'] def test_kafka_consumer_ignore_topic_ongoing_transaction(instrument, elasticapm_client,...

agent-python

Stop using pkg_resources, move to importlib instead. This requires at least python 3.7 as baseline.

agent-python