mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haosdent huang <haosd...@gmail.com>
Subject Re: Review Request 43477: Speed up GroupTest.* test cases by advance clock.
Date Sun, 10 Apr 2016 10:19:07 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43477/
-----------------------------------------------------------

(Updated April 10, 2016, 10:19 a.m.)


Review request for mesos, Alexander Rukletsov and Ben Mahler.


Changes
-------

Update according to @alexr's comments.


Bugs: MESOS-4648
    https://issues.apache.org/jira/browse/MESOS-4648


Repository: mesos


Description
-------

Speed up GroupTest.* test cases by advance clock.


Diffs (updated)
-----

  src/tests/group_tests.cpp ebf6963cd4d4dcf053a61495a33a74f22d95e7ec 

Diff: https://reviews.apache.org/r/43477/diff/


Testing (updated)
-------

Test repeatly in CentOS 7.1

```
 sudo ./bin/mesos-tests.sh --gtest_filter="GroupTest.*" --verbose --gtest_repeat=200 --gtest_break_on_failure
```

Before

```
[       OK ] GroupTest.GroupJoinWithDisconnect (3352 ms)
[       OK ] GroupTest.GroupDataWithDisconnect (3350 ms)
[       OK ] GroupTest.GroupCancelWithDisconnect (2013 ms)
[       OK ] GroupTest.GroupPathWithRestrictivePerms (13368 ms)
[       OK ] GroupTest.RetryableErrors (26720 ms)
```

After 

```
[       OK ] GroupTest.GroupJoinWithDisconnect (405 ms)
[       OK ] GroupTest.GroupDataWithDisconnect (192 ms)
[       OK ] GroupTest.GroupCancelWithDisconnect (250 ms)
[       OK ] GroupTest.GroupPathWithRestrictivePerms (334 ms)
[       OK ] GroupTest.RetryableErrors (341 ms)
```


Thanks,

haosdent huang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message