Commit Graph

12 Commits

Author SHA1 Message Date
Victor Marmol
e42ca5787d Don't use screen to run cAdvisor in the background.
Some distros don't have screen. Here we wait for cAdvisor to come up
before continuing.
2015-02-17 06:33:45 -08:00
Rohit Jnagal
667a8e0fd1 Rename load to load average.
Load is now LoadAverage. Also added comments about smoothing interval.
2015-01-28 00:37:45 +00:00
Victor Marmol
593d546946 Expect user + cpu to be within 500ms of total.
This should be a sane default.
2015-01-27 13:51:32 -08:00
Victor Marmol
5851645aa6 Setup necessary env variables for e2e. Also, don't run tests for trivial changes. 2015-01-26 16:19:45 -08:00
Victor Marmol
b2abaaa67b Use internal GCE IP when in GCE for integration tests 2015-01-23 16:01:11 -08:00
Victor Marmol
21bdea3dcc Add integration test runner.
Runner builds a cAdvisor, prepares it on a remote machine, and executes
the integration tests targetting the remote machines.

Script builds the runner and runs it.
2015-01-23 10:57:29 -08:00
Victor Marmol
5d579b43c9 Remove assertion that is only true in AUFS systems. 2015-01-22 15:00:45 -08:00
Victor Marmol
4347ccb7fd Implement remote command execution in the test framework.
Specifically, handles remote execution in GCE hosts.
2015-01-22 15:00:05 -08:00
Vishnu Kannan
aedf42ba8c Adding 'HasDiskIo' to Container Spec to indicate if diskio stats are available for a given container. 2015-01-20 05:06:57 +00:00
Rohit Jnagal
9a4e6304b8 Add missing copyright notices.
We'll add a travis rule when this is in.
2015-01-09 00:06:04 +00:00
Victor Marmol
024c3770a3 Refactoring Docker integration test.
Uses assert and require. Moves common components to a common file for
reuse.
2014-12-17 15:52:55 -08:00
Victor Marmol
f6a90d7bac Adding integration test framework along with 3 tests.
These tests are similar to Go unit tests except that they're targetting
tesing of a running cAdvisor client. They do this by interacting with
the testing framework that is able to talk to the running cAdvisor. This
cAdvisor could be local or remote.
2014-11-19 13:02:24 -08:00