|
@@ -95,7 +95,7 @@ class TestBackfillSeerGroupingRecords(SnubaTestCase, TestCase):
|
|
|
"exception": self.create_exception_values(
|
|
|
function_names[i], type_names[i], value_names[i]
|
|
|
),
|
|
|
- "timestamp": iso_format(before_now(seconds=3)),
|
|
|
+ "timestamp": iso_format(before_now(seconds=10)),
|
|
|
}
|
|
|
event = self.store_event(data=data, project_id=self.project.id, assert_no_errors=False)
|
|
|
events.append(event)
|
|
@@ -126,7 +126,7 @@ class TestBackfillSeerGroupingRecords(SnubaTestCase, TestCase):
|
|
|
bulk_data["messages"],
|
|
|
)
|
|
|
self.event = self.store_event(
|
|
|
- data={"exception": EXCEPTION, "timestamp": iso_format(before_now(seconds=3))},
|
|
|
+ data={"exception": EXCEPTION, "timestamp": iso_format(before_now(seconds=10))},
|
|
|
project_id=self.project.id,
|
|
|
assert_no_errors=False,
|
|
|
)
|
|
@@ -703,7 +703,7 @@ class TestBackfillSeerGroupingRecords(SnubaTestCase, TestCase):
|
|
|
"exception": self.create_exception_values(
|
|
|
function_names[i], type_names[i], value_names[i]
|
|
|
),
|
|
|
- "timestamp": iso_format(before_now(seconds=3)),
|
|
|
+ "timestamp": iso_format(before_now(seconds=10)),
|
|
|
}
|
|
|
event = self.store_event(data=data, project_id=self.project.id, assert_no_errors=False)
|
|
|
groups_seen_once.append(event.group)
|
|
@@ -726,6 +726,9 @@ class TestBackfillSeerGroupingRecords(SnubaTestCase, TestCase):
|
|
|
Group.objects.filter(project_id=self.project.id, times_seen__gt=1)
|
|
|
)
|
|
|
|
|
|
+ @pytest.mark.skip(
|
|
|
+ "this test is flakey in production; trying to replicate locally and skipping it for now"
|
|
|
+ )
|
|
|
@with_feature("projects:similarity-embeddings-backfill")
|
|
|
@patch("sentry.tasks.backfill_seer_grouping_records.post_bulk_grouping_records")
|
|
|
def test_backfill_seer_grouping_records_groups_have_neighbor(
|
|
@@ -748,7 +751,7 @@ class TestBackfillSeerGroupingRecords(SnubaTestCase, TestCase):
|
|
|
"exception": self.create_exception_values(
|
|
|
function_names[i], type_names[i], value_names[i]
|
|
|
),
|
|
|
- "timestamp": iso_format(before_now(seconds=3)),
|
|
|
+ "timestamp": iso_format(before_now(seconds=10)),
|
|
|
}
|
|
|
event = self.store_event(data=data, project_id=self.project.id, assert_no_errors=False)
|
|
|
event.group.times_seen = 2
|
|
@@ -815,7 +818,7 @@ class TestBackfillSeerGroupingRecords(SnubaTestCase, TestCase):
|
|
|
"exception": self.create_exception_values(
|
|
|
"another_function!", "AnotherError!", "error with value"
|
|
|
),
|
|
|
- "timestamp": iso_format(before_now(seconds=3)),
|
|
|
+ "timestamp": iso_format(before_now(seconds=10)),
|
|
|
}
|
|
|
event = self.store_event(data=data, project_id=self.project.id, assert_no_errors=False)
|
|
|
event.group.times_seen = 2
|
|
@@ -876,7 +879,7 @@ class TestBackfillSeerGroupingRecords(SnubaTestCase, TestCase):
|
|
|
"exception": self.create_exception_values(
|
|
|
function_names[i], type_names[i], value_names[i]
|
|
|
),
|
|
|
- "timestamp": iso_format(before_now(seconds=3)),
|
|
|
+ "timestamp": iso_format(before_now(seconds=10)),
|
|
|
}
|
|
|
event = self.store_event(data=data, project_id=self.project.id, assert_no_errors=False)
|
|
|
event.group.times_seen = 2
|
|
@@ -912,7 +915,7 @@ class TestBackfillSeerGroupingRecords(SnubaTestCase, TestCase):
|
|
|
"exception": self.create_exception_values(
|
|
|
function_names[i], type_names[i], value_names[i]
|
|
|
),
|
|
|
- "timestamp": iso_format(before_now(seconds=3)),
|
|
|
+ "timestamp": iso_format(before_now(seconds=10)),
|
|
|
}
|
|
|
event = self.store_event(data=data, project_id=self.project.id, assert_no_errors=False)
|
|
|
event.group.times_seen = 2
|