Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
gthea committed Nov 6, 2024
1 parent f681d1b commit c461429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/base_ut.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
scheme: Split
sdk: 'iphonesimulator'
test-plan: ${{ inputs.test-plan }}
use-xcpretty: true

# - name: Install java 11
# uses: actions/setup-java@v3
Expand Down
6 changes: 3 additions & 3 deletions SplitTests/Integration/streaming/MySegmentUpdateTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@ class MySegmentUpdateTest: XCTestCase {
// Should not trigger any fetch to my segments because
// this payload doesn't have "key1" enabled

Thread.sleep(forTimeInterval: 2.0)
Thread.sleep(forTimeInterval: 0.5)
pushMessage(TestingData.escapedBoundedNotificationZlib(type: type, cn: mySegmentsCns[cnIndex()]))

// Pushed key list message. Key 1 should add a segment
sdkUpdExp = XCTestExpectation()

Thread.sleep(forTimeInterval: 2.0)
Thread.sleep(forTimeInterval: 0.5)
pushMessage(TestingData.escapedKeyListNotificationGzip(type: type, cn: mySegmentsCns[cnIndex()]))
wait(for: [sdkUpdExp], timeout: 5)

sdkUpdExp = XCTestExpectation()
Thread.sleep(forTimeInterval: 2.0)
Thread.sleep(forTimeInterval: 0.5)
pushMessage(TestingData.segmentRemovalNotification(type: type, cn: mySegmentsCns[cnIndex()]))
wait(for: [sdkUpdExp], timeout: 5)

Expand Down

0 comments on commit c461429

Please sign in to comment.