AWS SDK

AWS SDK

rev. 093800177b763dfc8924304e7c348d358bbcc4ce (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/tests/event_stream.rs

@@ -1,1 +43,44 @@
    4      4   
 */
    5      5   
    6      6   
use aws_credential_types::Credentials;
    7      7   
use aws_sdk_cloudwatchlogs::{
    8      8   
    config::Region, operation::start_live_tail::StartLiveTailOutput,
    9      9   
    types::LiveTailSessionMetadata, Client, Config,
   10     10   
};
   11     11   
use aws_smithy_eventstream::test_util::validate_body;
   12     12   
use aws_smithy_runtime::client::http::test_util::dvr::ReplayingClient;
   13     13   
          14  +
#[ignore] // TODO(re-enable this after success.json has been updated)
   14     15   
#[tokio::test]
   15     16   
async fn operation_with_rpc_bound_protocol() {
   16     17   
    let (replayer, mut output) = start_request("us-west-2", "tests/success.json").await;
   17     18   
   18     19   
    let mut session_metadata: Option<LiveTailSessionMetadata> = None;
   19     20   
   20     21   
    while let Some(event) = output.response_stream.recv().await.unwrap() {
   21     22   
        match event {
   22     23   
            aws_sdk_cloudwatchlogs::types::StartLiveTailResponseStream::SessionStart(_) => {
   23     24   
                // `SessionStart` event has been removed from `success.json` for security reason