You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aws-cpp-sdk-core-tests/utils/event/EventStreamDecoderTest.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -520,8 +520,8 @@ namespace
520
520
521
521
ASSERT_EQ(0u, handler.m_onPayloadSegmentCount);
522
522
ASSERT_EQ(0u, handler.m_onCompletePayloadCount);
523
-
// Underlying Event Stream Decoder will parse xml error unsuccessfully, and take it as a prelude with CRC mismatch error.
524
-
ASSERT_EQ(1u, handler.m_onPreludeReceivedCount);
523
+
// Underlying Event Stream Decoder will parse xml error unsuccessfully, an invalid prelude with CRC mismatch error will not trigger onPreludeReceived().
Copy file name to clipboardExpand all lines: aws-cpp-sdk-core-tests/utils/event/EventStreamTest.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -183,8 +183,8 @@ namespace
183
183
184
184
ASSERT_EQ(0u, handler.m_onPayloadSegmentCount);
185
185
ASSERT_EQ(0u, handler.m_onCompletePayloadCount);
186
-
// Underlying Event Stream Decoder will parse xml error unsuccessfully, and take it as a prelude with CRC mismatch error.
187
-
ASSERT_EQ(1u, handler.m_onPreludeReceivedCount);
186
+
// Underlying Event Stream Decoder will parse xml error unsuccessfully, an invalid prelude with CRC mismatch error will not trigger onPreludeReceived().
187
+
ASSERT_EQ(0u, handler.m_onPreludeReceivedCount);
188
188
ASSERT_EQ(0u, handler.m_onHeaderReceivedCount);
189
189
ASSERT_EQ(0u, handler.m_requestLevelErrorsCount);
190
190
ASSERT_EQ(1u, handler.m_internalErrorsCount);
@@ -217,8 +217,8 @@ namespace
217
217
218
218
ASSERT_EQ(0u, handler.m_onPayloadSegmentCount);
219
219
ASSERT_EQ(0u, handler.m_onCompletePayloadCount);
220
-
// Underlying Event Stream Decoder will parse xml error unsuccessfully, and take it as a prelude with CRC mismatch error.
221
-
ASSERT_EQ(1u, handler.m_onPreludeReceivedCount);
220
+
// Underlying Event Stream Decoder will parse xml error unsuccessfully, an invalid prelude with CRC mismatch error will not trigger onPreludeReceived().
0 commit comments