summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorMaarten de Vries <maarten@de-vri.es>2018-12-21 01:24:48 +0100
committerMaarten de Vries <maarten@de-vri.es>2018-12-21 01:53:57 +0100
commit48b7ff7a351f585f2f9d61efbeac5bd261bf5255 (patch)
tree8bbb01acb2bddcceb431fc51f24b7a94ca785866 /changelog.d
parentMerge branch 'master' into develop (diff)
downloadsynapse-48b7ff7a351f585f2f9d61efbeac5bd261bf5255.tar.xz
Fix test_metrics.py compatibility prometheus_client 0.5
prometheus_client 0.5 has a named-tuple Sample type with more member
than the old plain tuple had. This commit makes sure the unit test
detects this and changes the way it reads the sample.

Signed-off-by: Maarten de Vries <maarten@de-vri.es>
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/4317.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/4317.bugfix b/changelog.d/4317.bugfix
new file mode 100644
index 0000000000..61bad5f2da
--- /dev/null
+++ b/changelog.d/4317.bugfix
@@ -0,0 +1 @@
+Fix test_metric.py compatibility with prometheus_client 0.5. Contributed by Maarten de Vries <maarten@de-vri.es>.