mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Repeatable tests/fix CI/CD
fixes KeyError: "exception"
This commit is contained in:
@@ -296,7 +296,7 @@ class IngestViewTestCase(TransactionTestCase):
|
||||
|
||||
SAMPLES_DIR = os.getenv("SAMPLES_DIR", "../event-samples")
|
||||
|
||||
event_samples = glob(SAMPLES_DIR + "/*/*.json")
|
||||
event_samples = glob(SAMPLES_DIR + "/sentry/mobile1-xen.json") # pick a fixed one for reproducibility
|
||||
known_broken = [SAMPLES_DIR + "/" + s.strip() for s in _readlines(SAMPLES_DIR + "/KNOWN-BROKEN")]
|
||||
|
||||
if len(event_samples) == 0:
|
||||
@@ -436,7 +436,8 @@ class IngestViewTestCase(TransactionTestCase):
|
||||
|
||||
SAMPLES_DIR = os.getenv("SAMPLES_DIR", "../event-samples")
|
||||
|
||||
event_samples = glob(SAMPLES_DIR + "/*/*.json")
|
||||
event_samples = glob(SAMPLES_DIR + "/sentry/mobile1-xen.json") # this one has 'exception.values[0].type'
|
||||
|
||||
known_broken = [SAMPLES_DIR + "/" + s.strip() for s in _readlines(SAMPLES_DIR + "/KNOWN-BROKEN")]
|
||||
|
||||
if len(event_samples) == 0:
|
||||
|
||||
Reference in New Issue
Block a user