1. 28 May, 2021 5 commits
    • Dridi Boukelmoune's avatar
      eda05508
    • Dridi Boukelmoune's avatar
      varnishtest: Remove redundant WRONGs · 57cbd845
      Dridi Boukelmoune authored
      A wrong WRONG doesn't make it right for SunCC.
      57cbd845
    • Dridi Boukelmoune's avatar
      vtc: Allow a tunnel to start already paused · 1e2e40ce
      Dridi Boukelmoune authored
      To cut down synchronization needs for the very beginning of a session.
      1e2e40ce
    • Dridi Boukelmoune's avatar
      varnishtest: New tunnel command · e1e52264
      Dridi Boukelmoune authored
      The tunnel acts like a client and a server and forwards bytes between
      two parties. It can then pause in the middle of a session and control
      how much data can go in either direction. Combined with barriers it can
      be used to trigger socket timeouts, possibly in the middle of protocol
      frames.
      
      A tunnel works with two threads: one to execute its spec and one to poll
      both parties and transfer data accordingly. The two threads synchronize
      via basic pthread primitives and follow a very simplistic state machine:
      
          ACCEPT -> RUNNING <-> PAUSED -> SPEC DONE -> POLL DONE -> STOPPED
      
      Despite being simplistic, the coordination of two threads would likely
      complicate the implementation of a `-repeat` action, but it is still
      possible to `start` a tunnel again as shown in the c106 test case that
      exercises basic coverage involving a varnish instance.
      
      Usage is documented in the vtc(7) manual.
      e1e52264
    • Poul-Henning Kamp's avatar
      810dcd93
  2. 26 May, 2021 2 commits
    • Johan Hendriks's avatar
      Update vnum.c · 4dbdd8a8
      Johan Hendriks authored
      Small typo
      4dbdd8a8
    • Dridi Boukelmoune's avatar
      vtc: Fix h5 on my machine · 2608ea8b
      Dridi Boukelmoune authored
      Ever since my system upgraded haproxy to 2.3.10 this test has
      consistently timed out. While that would be a breaking change
      involving the independent vtest project too, I think the VTC
      syslog spec would work better with something like:
      
          expect skip facility.level regex
      
      Where skip could be uint, * or ? similar to how logexpect works,
      and both facility and level could also be * to be non-specific.
      For now, let's hope this does not break the test suite for anyone
      else.
      2608ea8b
  3. 24 May, 2021 3 commits
  4. 21 May, 2021 4 commits
  5. 20 May, 2021 1 commit
  6. 19 May, 2021 9 commits
  7. 18 May, 2021 1 commit
  8. 17 May, 2021 6 commits
  9. 12 May, 2021 1 commit
  10. 11 May, 2021 3 commits
  11. 10 May, 2021 5 commits