Unverified Commit b21b9612 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

amazon-ssm-agent: skip time dependent/flaky test

Build regularly fails because of time dependent tests:

* Test name: TestSendStreamDataMessageWithStreamDataSequenceNumberMutexLocked
* File: agent/session/datachannel/datachannel_test.go#L259 (refs/tags/3.2.1705.0)

This test is a time-based unit test, and relies on `time.Sleep`.
We should disable it to get the ssm build working again.
parent f879f6a4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -131,6 +131,11 @@ buildGoModule rec {
    runHook postInstall
  '';

  checkFlags = [
    # Skip time dependent/flaky test
    "-skip=TestSendStreamDataMessageWithStreamDataSequenceNumberMutexLocked"
  ];

  postFixup = ''
    wrapProgram $out/bin/amazon-ssm-agent --prefix PATH : ${bashInteractive}/bin
  '';