Use TestEnvironment::nullDevicePath instead of /dev/null/#12172
Use TestEnvironment::nullDevicePath instead of /dev/null/#12172mattklein123 merged 11 commits intoenvoyproxy:masterfrom
Conversation
Signed-off-by: davinci26 <sotirisnan@gmail.com>
Signed-off-by: davinci26 <sotirisnan@gmail.com>
|
@davinci26 seems like |
|
@dio I added why I didn't remove the tag in the pr description. The test list is still flaky. I assume my other pr will help. |
Signed-off-by: davinci26 <sotirisnan@gmail.com>
0355a7f to
135bd76
Compare
Signed-off-by: davinci26 <sotirisnan@gmail.com>
|
@sunjayBhatia do you think we could write a format rule for this one as well? |
Signed-off-by: davinci26 <sotirisnan@gmail.com>
yeah I think that is a good idea, especially as test cases get copied and pasted, if there are any maybe something as simple as searching for envoy/tools/code_format/check_format.py Line 580 in 2a34c76 |
Signed-off-by: davinci26 <sotirisnan@gmail.com>
|
I will fix the CI (formatting) as I add the new clang-ci rule |
|
Ping? Looking forward to this merge after the format failures are fixed. |
Signed-off-by: davinci26 <sotirisnan@gmail.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
| op_timeout: 5s | ||
| )EOF"; | ||
| )EOF", | ||
| TestEnvironment::nullDevicePath()); |
There was a problem hiding this comment.
This one is too far?
Format check failed, try apply following patch to fix:
diff --git a/test/extensions/filters/network/redis_proxy/redis_proxy_integration_test.cc b/test/extensions/filters/network/redis_proxy/redis_proxy_integration_test.cc
index b67cab241..928758cd7 100644
--- a/test/extensions/filters/network/redis_proxy/redis_proxy_integration_test.cc
+++ b/test/extensions/filters/network/redis_proxy/redis_proxy_integration_test.cc
@@ -60,7 +60,7 @@ static_resources:
settings:
op_timeout: 5s
)EOF",
- TestEnvironment::nullDevicePath());
+ TestEnvironment::nullDevicePath());
// This is a configuration with command stats enabled.
const std::string CONFIG_WITH_COMMAND_STATS = CONFIG + R"EOF(There was a problem hiding this comment.
I am getting really confused... I am pretty sure I had it like this in the previous commit. Look at the diff here 7cedce8
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
a68cbbe to
25428a3
Compare
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
It took me more time that I am proud to admit but I finally got there. The CI is clean now. Let me know if you have any other comments 😄 |
…yproxy#12172) Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
…yproxy#12172) Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com> Signed-off-by: chaoqinli <chaoqinli@google.com>
Signed-off-by: davinci26 sotirisnan@gmail.com
Changes the config file to use the cross-platform
TestEnvironment::nullDevicePath()instead of /dev/null in:rtds_integration_test.cccluster_integration_test.ccredis_cluster_integration_test.ccmysql_integration_test.ccpostgres_integration_test.ccrtds_integration_test.ccAdditional Description:
The test list is flaky on Windows. I think it is related to #11793 and it will be less flaky when this change gets merged.
Risk Level: N/A
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]