Commit Graph

20 Commits

Author SHA1 Message Date
andytill
409a463dbf Ignore the variables file that gets created when the tests are run. 2016-04-12 10:56:59 +00:00
Andrei Zavada
24ae40194a add ct_logs to .gitignore 2016-03-30 19:21:54 +03:00
Fred Dushin
0de66ab808 Exclude IntelliJ detritus from git status 2015-03-30 08:59:16 -04:00
John Burwell
a37832d7f9 Verify the list of HTTP stats keys is complete
* Checks the list of stats keys returned from the HTTP endpoint
    is complete -- delineating between riak and riak_ee.  The test will
    fail if the list returned from the HTTP endpoint does not exactly match
    the expected list.  This behavior acts as a forcing function to ensure
    that the expected list is properly maintained as stats are added and
    removed.
    * Modifies reset-current-env to properly clean dependencies when a
    full clean is requested and remove the current directory in the
    target test instance.
    * Adds logging to verify_riak_stats to explain the addition steps
    being performed
    * Adds rt:product/1 to determine whether a node is running riak,
    riak_ee, or riak_cs
    * Adds tools.mk support and eunit scaffolding to rebar.config
    * Modifies reset-current-env.sh to remove the current directory in
    the target test instance
2015-01-08 17:23:25 -05:00
Christopher Meiklejohn
b906a31be9 Ignore rebar. 2014-07-11 20:47:56 -04:00
Evan Vigil-McClanahan
acefade354 - adjust gitignore
- make sure that the results dir is created
- ruggedize observer listen socket creation
- fix support for non-cuttlefish builds
- observer disk autodetection
2014-04-17 17:42:51 -04:00
Evan Vigil-McClanahan
1180eccdfc new strat working, needs testing on bigger cluster 2014-04-15 20:33:06 -04:00
Christopher Meiklejohn
89d5ad9e35 Ignore riak installations. 2014-02-26 13:43:46 -05:00
Christopher Meiklejohn
a6c983229e Ignore tags file. 2014-02-24 10:26:55 -05:00
Andrew Thompson
1ec8bda21c Add a simple 'smoke test' tool to run eunit/dialyzer on riak source trees 2014-01-22 12:21:22 -05:00
Engel A. Sanchez
ca421d34a5 Add code coverage analysis to riak_test
The erlang cover tool tells you what lines of code were executed during
a run. It works by starting a main server that will collect coverage
data sent from any number of connected nodes where a secondary cover
server is running. Modules for which coverage is collected are
instrumented and reloaded on all participating nodes.

To disable cover analysis, set the 'cover_enabled' application variable
to false. It is true by default. When true, it will determine which
modules to instrument by looking first at the 'cover_apps' variable.  If
set, it will instrument all modules for each application directory in
the lib folder of the first devrel node of the current version of Riak.
Code coverage can not be used accross multiple versions of the code, so
only nodes running current code will participate.
If 'cover_apps' is not set, the 'cover_modules' variable is tried next,
which should contain a list of module names (as atoms, apps should be
specified as atoms as well).

This change tries to start a secondary cover server on each node started
with current code, and stop it before it is killed. If your code kills
the node in an unusual ways, you could run into trouble and may need to
stop cover manually in the test.

At the end of the run, aggregate coverage data for all tests that ran
are written as HTML in the coverage directory (relative to working
dir). You could point to a different place using the 'cover_output'
variable. In there you will find an index.html containing total coverage
numbers, coverage per app and per module, with links for each module
file that contains coverage data per line of code.
riak_test needs to be able to find the source code for each instrumented
beam, and should have permission to write it temporarily in the same
directory as its corresponding beam (so cover can find it).

Killing a riak_test run with cover enabled leaves the participating
nodes in a stuck state unfortunately. So code was added to kill -9 the
nodes when the next run starts
2013-06-21 13:20:52 -04:00
evan
d457ddb6fe Merge branch 'master' into pevm-timeout-tests
grabbing to get latest intercepts code
2013-02-08 15:10:53 -08:00
Bryan Fink
32fbddf27e gitignore emacs cruft, doc generation, java test jars 2013-01-31 21:40:09 -05:00
evan
be711a19cc added timeout tests for webmachine 2012-12-22 00:50:34 -05:00
Engel A. Sanchez
4e698348b0 Fix multiple of ten failures = pass
Also, adding dump file name to gitignore
2012-11-19 12:07:33 -05:00
Joe DeVivo
1098266567 Added search-corpus/spam.0 to .gitignore 2012-09-24 11:45:20 -07:00
Joe DeVivo
dee961d8f6 Added file output 2012-08-30 15:52:37 -04:00
Joe DeVivo
f493fa9c1a Added .DS_Store to .gitignore 2012-08-30 15:51:46 -04:00
Joe DeVivo
6f40557746 .gitignore .eunit 2012-08-23 11:58:41 -07:00
Ryan Zezeski
dedf58e2ad Add .gitignore 2012-04-05 17:23:09 -04:00