File tree 2 files changed +0
-12
lines changed
tests/snuba/api/endpoints
2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 12
12
T = TypeVar ("T" , bound = Callable [..., Any ])
13
13
14
14
15
- def is_arm64 () -> bool :
16
- return os .uname ().machine == "arm64"
17
-
18
-
19
- requires_not_arm64 = pytest .mark .skipif (
20
- is_arm64 (), reason = "this test fails in our arm64 testing env"
21
- )
22
-
23
-
24
15
def xfail_if_not_postgres (reason : str ) -> Callable [[T ], T ]:
25
16
def decorator (function : T ) -> T :
26
17
return pytest .mark .xfail (os .environ .get ("TEST_SUITE" ) != "postgres" , reason = reason )(
Original file line number Diff line number Diff line change 38
38
from sentry .testutils .helpers import parse_link_header
39
39
from sentry .testutils .helpers .datetime import before_now , freeze_time , iso_format
40
40
from sentry .testutils .helpers .discover import user_misery_formula
41
- from sentry .testutils .skips import requires_not_arm64
42
41
from sentry .types .group import GroupSubStatus
43
42
from sentry .utils import json
44
43
from sentry .utils .samples import load_data
@@ -3373,7 +3372,6 @@ def test_all_aggregates_in_columns(self):
3373
3372
assert data [0 ]["linear_regression(transaction.duration, transaction.duration)" ] == [0 , 0 ]
3374
3373
assert data [0 ]["sum(transaction.duration)" ] == 10000
3375
3374
3376
- @requires_not_arm64
3377
3375
def test_null_user_misery_returns_zero (self ):
3378
3376
self .transaction_data ["user" ] = None
3379
3377
self .transaction_data ["transaction" ] = "/no_users/1"
@@ -3393,7 +3391,6 @@ def test_null_user_misery_returns_zero(self):
3393
3391
data = response .data ["data" ]
3394
3392
assert data [0 ]["user_misery(300)" ] == 0
3395
3393
3396
- @requires_not_arm64
3397
3394
def test_null_user_misery_new_returns_zero (self ):
3398
3395
self .transaction_data ["user" ] = None
3399
3396
self .transaction_data ["transaction" ] = "/no_users/1"
You can’t perform that action at this time.
0 commit comments