summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJiwen 'Steve' Cai <jwcai@google.com>2017-12-06 16:32:22 -0800
committerJiwen Cai <jiwen@google.com>2017-12-07 04:26:27 +0000
commit2d89e6b3e82803083290ed0bb6de84e4512fff90 (patch)
treeea584398dee5d392e84732b1d2d4b57d8f66261c /opengl/tests/gl_basic/gl_basic.cpp
parentb5c3de5279e2d8633cdb79aab47660b8b494e527 (diff)
Fix a flaky test in buffer_hub-test
UDS-based PDX guarantees commands execution on the same channel. However, where there are incoming commands from different channels, the execution order can no longer be guaranteed as the service basical holds a epoll on sockets from different FDs. The original test we put up is flaky for the following commands: c1->ReleaseAsync p->CreateConsumer Not that the ReleaseAsync call may actually happen after a new consumer gets created, which prevents the buffer from being fulling released back to the producer. To de-flaky the test, simplily poll the producer after the release to confirm that the buffer is indeed released before moving on. Bug: 70298522 Bug: 70046255 Test: buffer_hub-test Change-Id: Ia3987642a40f62e7d151edbdf0f11dd9bee57223
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions