Commit 570ba58
committed
[ms/release/0.1]Only
Backport PR: #2558
Only `Reset` non-nil fields
Protobuf message's `Reset` assumes non-nil callers, so check to make
sure we don't cause a panic if the cgroup stats call didn't initialize
those fields.
Signed-off-by: Hamza El-Saawy <[email protected]>
(cherry picked from commit d3ffbb6)
Backport PR #2506
Fix/Disable failing CI tests
Unit test `TestGcsWaitProcessBridgeTerminated` and the functional test
`TestHostProcess_whoami` keeps failing intermittently on our github CI test runs. That
blocks us from merging our PRs.
This commit fixes the race condition in the `TestGcsWaitProcessBridgeTerminated` test by
adding a small sleep. The other test failure is probably more related to the test
environment than the test itself. That will require additional investigations to fix the
test, so the test is currently disabled.
Signed-off-by: Amit Barve <[email protected]>
(cherry picked from commit cb6213a)
Signed-off-by: Hamza El-Saawy <[email protected]>Reset non-nil fields; Fix/Disable failing CI tests1 parent 22f9510 commit 570ba58
File tree
3 files changed
+31
-9
lines changed- internal
- gcs
- guest/runtime/hcsv2
- test/functional
3 files changed
+31
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
258 | 268 | | |
259 | 269 | | |
260 | | - | |
| 270 | + | |
261 | 271 | | |
262 | 272 | | |
263 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
845 | 847 | | |
846 | | - | |
847 | | - | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
848 | 857 | | |
849 | 858 | | |
850 | 859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
0 commit comments