Skip to content

Commit a1ef185

Browse files
committed
Add suggestions
1 parent 53d7987 commit a1ef185

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/test_android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: reactivecircus/android-emulator-runner@b530d96654c385303d652368551fb075bc2f0b6b # [email protected]
4242
timeout-minutes: 30
4343
with:
44-
api-level: 30
44+
api-level: 34
4545
target: "google_apis"
4646
channel: "stable"
4747
force-avd-creation: true

project/test/suites/test_breadcrumbs_json.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ func test_breadcrumbs_with_minimal_breadcrumb() -> void:
3030
.either() \
3131
.must_not_contain("data") \
3232
.or_else() \
33+
# NOTE: Android always adds data field, even if empty.
3334
.must_contain("data", {}) \
3435
.end() \
3536

project/test/suites/test_event.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func test_event_timestamp() -> void:
4242
# Test assigning a custom timestamp from microseconds
4343
var custom_timestamp := SentryTimestamp.from_microseconds_since_unix_epoch(1612325106123456)
4444
event.timestamp = custom_timestamp
45-
# millisecond precision on some platforms
45+
# NOTE: Millisecond precision on Android
4646
assert_int(event.timestamp.microseconds_since_unix_epoch).is_between(1612325106123000, 1612325106123456)
4747

4848
# Test assigning timestamp from current time

scripts/run-android-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ run_tests() {
276276

277277

278278
# Discover isolated test suites and add normal suites as first item
279-
TEST_PATHS=("res://test/suites/")
280279
blankline
281280
highlight "Looking for isolated test suites..."
281+
TEST_PATHS=("res://test/suites/")
282282
TEST_PATHS+=($(find project/test/isolated -name "test_*.gd" -type f | sort))
283283

284284
# Check if any isolated tests were found

0 commit comments

Comments
 (0)