Skip to content

Commit

Permalink
ci: integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 26, 2024
1 parent ece9252 commit 76725df
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class EventRecorder: AnalyticsEventRecording {
private(set) var queue: OperationQueue
private(set) var bundleSequenceId: Int
var allEventJson: String = ""
var allEventJson: String = ""

init(clickstream: ClickstreamContext) throws {
self.clickstream = clickstream
Expand All @@ -54,6 +55,8 @@ class EventRecorder: AnalyticsEventRecording {
log.debug("Saved event: \(event.eventType)\n\(eventObject.toPrettierJsonString())")
allEventJson.append("Saved event /(event.eventType):/(eventObject.toJsonString())\n")
UIPasteboard.general.string = allEventJson
allEventJson.append("Saved event /(event.eventType):/(eventObject.toJsonString())\n")
UIPasteboard.general.string = allEventJson
}
while try dbUtil.getTotalSize() > Constants.maxDbSize {
let events = try dbUtil.getEventsWith(limit: 5)
Expand Down Expand Up @@ -116,6 +119,8 @@ class EventRecorder: AnalyticsEventRecording {
log.debug("Send \(batchEvent.eventCount) events")
allEventJson.append("Saved event /(event.eventType):/(eventObject.toJsonString())\n")
UIPasteboard.general.string = allEventJson
allEventJson.append("Saved event /(event.eventType):/(eventObject.toJsonString())\n")
UIPasteboard.general.string = allEventJson
totalEventSend += batchEvent.eventCount
submissions += 1
} while submissions < Constants.maxSubmissionsAllowed
Expand Down

0 comments on commit 76725df

Please sign in to comment.