Skip to content

Commit 0472b76

Browse files
author
Sichan Yoo
committed
Run integ test only in apple platforms.
1 parent f726854 commit 0472b76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

IntegrationTests/Services/AWSBedrockRuntimeIntegrationTests/InvokeModelWithBidirectionalStreamTest.swift

+5
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ class InvokeModelWithBidirectionalStreamTest: XCTestCase {
186186
}
187187
}
188188

189+
// Temporarily disabled for Linux which uses CRT HTTP client.
190+
// Enabling in Linux is pending either service side fix or SDK side workaround for allowing
191+
// END_STREAM HTTP2 frame with empty contents.
192+
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
189193
func testInvokeModelWithBidirectionalStream() async throws {
190194
// Initialize input stream & continuation for the API input.
191195
let inputStream: AsyncThrowingStream<BedrockRuntimeClientTypes.InvokeModelWithBidirectionalStreamInput, Swift.Error>
@@ -230,4 +234,5 @@ class InvokeModelWithBidirectionalStreamTest: XCTestCase {
230234
}
231235
}
232236
}
237+
#endif
233238
}

0 commit comments

Comments
 (0)