test: Make it easier to use simulated time in integration test, and switch hds_integration_test to use it.#6139
Conversation
…ritrus from an older sim-time integration mechanism. Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
|
@sschepens ptal |
|
Hold off on review -- I thought that echo2_integration_test had been brought in and thus I could change this integration test API in one PR now. I'll restore the realTime() and 3-arg ctor form in a bit. |
Signed-off-by: Joshua Marantz <jmarantz@google.com>
|
Reverted incompatible changes with envoy-filter-example. |
|
@jmarantz seems legit, thanks for taking the time! |
…e to work." This reverts commit 965b7c5. Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
dnoe
left a comment
There was a problem hiding this comment.
LGTM. I think we both might have been confused about required ordering between the filter example and here, and sorry if I added to that confusion.
It looks like CI here failed because filter example failed to build. It's possible there was an implied required ordering we didn't understand, or maybe you just raced your revert here against the update to filter example and things happened in the wrong order?
|
/retest |
|
🔨 rebuilding |
|
Looks like you will need to revert 899e3a5 and then clean that up in a follow up PR. Sorry for misleading you. |
…r-example to work."" This reverts commit 899e3a5. Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
mattklein123
left a comment
There was a problem hiding this comment.
Thanks, I need to use simulated time in some code I'm going to write soon and this will make it easier!
…witch hds_integration_test to use it. (envoyproxy#6139) Signed-off-by: Joshua Marantz <jmarantz@google.com> Signed-off-by: Fred Douglas <fredlas@google.com>
Description:
Risk Level: low
Testing: //test/...
Docs Changes: n/a
Release Notes: n/a