Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1718

Fix credential expiration parsing for ECS/EC2

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      RUST-1420 introduced AWS credential caching, which parses an expiration field from responses returned from AWS endpoints. When this work was initially implemented we had tests for ECS/EC2 skipped for unrelated setup failures. The expiration field deserialization logic that was added only accounts for doubles, but ECS/EC2 return their expiration fields as strings. We should add logic to cover this case.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: