Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/Sentry.Unity.Tests/IntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Sentry.Unity.Tests;
public sealed class IntegrationTests
{
private TestHttpClientHandler _testHttpClientHandler = null!; // Set in Setup
private readonly TimeSpan _eventReceiveTimeout = TimeSpan.FromSeconds(1);
private readonly TimeSpan _eventReceiveTimeout = TimeSpan.FromSeconds(5);

private string _eventMessage = null!; // Set in setup
private string _identifyingEventValueAttribute = null!; // Set in setup
Expand Down Expand Up @@ -196,7 +196,7 @@ public IEnumerator BugFarmScene_MultipleSentryInit_SendEventForTheLatest()
testBehaviour.gameObject.SendMessage(nameof(testBehaviour.ThrowException), _eventMessage);

// Sanity check
Assert.AreEqual(string.Empty, firstHttpClientHandler.GetEvent(_identifyingEventValueAttribute, _eventReceiveTimeout));
Assert.AreEqual(string.Empty, firstHttpClientHandler.GetEvent(_identifyingEventValueAttribute, TimeSpan.FromSeconds(1)));

Assert.AreNotEqual(string.Empty, _testHttpClientHandler.GetEvent(_identifyingEventValueAttribute, _eventReceiveTimeout));
}
Expand Down
Loading