demikernel icon indicating copy to clipboard operation
demikernel copied to clipboard

[test] Regression Tests for TCP

Open ppenna opened this issue 2 years ago • 2 comments

Description

We should add the following regression tests for TCP:

  • [ ] Deterministic hashmap
  • [ ] Random number of clients, connecting and disconnecting from each other randomly
  • [ ] Futzing for sending data, receiving data, half-closing, full-closing
  • [ ] Delay, drop, reorder, and duplicate packets randomly
  • [ ] Different MSS and TCP options
  • [ ] Invariant checks around resources getting freed
  • [ ] Resource limit scenarios

ppenna avatar Sep 09 '22 14:09 ppenna

@ppenna , this may all be handled by the simulator now?

iyzhang avatar Apr 26 '24 19:04 iyzhang

These can, but will require some work on the simulator:

  • Futzing for sending data, receiving data, half-closing, full-closing
  • Delay, drop, reorder, and duplicate packets randomly
  • Different MSS and TCP options

ppenna avatar Apr 26 '24 20:04 ppenna