Merge "adb: decrease the number of fds used in fd_count test."
This commit is contained in:
commit
c2964402b6
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ TEST_F(sysdeps_poll, disconnect) {
|
||||||
|
|
||||||
TEST_F(sysdeps_poll, fd_count) {
|
TEST_F(sysdeps_poll, fd_count) {
|
||||||
// https://code.google.com/p/android/issues/detail?id=12141
|
// https://code.google.com/p/android/issues/detail?id=12141
|
||||||
static constexpr int num_sockets = 512;
|
static constexpr int num_sockets = 256;
|
||||||
std::vector<int> sockets;
|
std::vector<int> sockets;
|
||||||
std::vector<adb_pollfd> pfds;
|
std::vector<adb_pollfd> pfds;
|
||||||
sockets.resize(num_sockets * 2);
|
sockets.resize(num_sockets * 2);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue