Skip to content

Instantly share code, notes, and snippets.

View plamut's full-sized avatar

Peter Lamut plamut

  • Independent contractor
  • Remote
View GitHub Profile
@plamut
plamut / 0001-Add-unit-test-for-race-in-BackgroundConsumer.patch
Created August 2, 2019 12:38
Unit test to catch a race condition in BackgroundConsumer
From 86fc0b465d27905be9d502aa2978e56ba135a53d Mon Sep 17 00:00:00 2001
From: Peter Lamut <inbox@peterlamut.com>
Date: Fri, 2 Aug 2019 14:30:20 +0200
Subject: [PATCH] Add unit test for race in BackgroundConsumer
---
api_core/tests/unit/test_bidi.py | 51 ++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/api_core/tests/unit/test_bidi.py b/api_core/tests/unit/test_bidi.py