Commit Graph

69 Commits

Author SHA1 Message Date
Sage Weil
7c04f81ca1 mon: remove class distribution infrastructure
This is now the admin's job.  Removes a lot of code with limited testing
and coverage.

We rev the internal monitor protocol because the state machine ids changed.
This should not affect the on-disk format. Just stop and restart all the
monitors at once during the upgrade.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-04-19 11:33:34 -07:00
Colin Patrick McCabe
1eae9d6da2 Add test_mutate
Add test_mutate, in an effort to track down an objecter bug.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-04-12 14:31:59 -07:00
Samuel Just
040663255e .gitignore: ignore testsnaps
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-02-17 11:24:04 -08:00
Tommi Virtanen
e21034e14e Make git ignore librbd tests. 2011-02-11 13:50:42 -08:00
Sage Weil
0b862ecc3c gitignore: ignore massif.out.*
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-02-08 08:44:25 -08:00
Sage Weil
73e76723e3 .gitignore: vstart generated files
Signed-off-by: Sage Weil <sage@newdream.net>
2011-01-27 07:54:28 -08:00
Tommi Virtanen
bdc1e26019 Make git ignore more generated files in src/gtest. 2011-01-14 16:27:24 -08:00
Tommi Virtanen
9a5a7fe4f0 Git ignored files cleanup.
Make gitignore entries not match recursively.

I wanted to introduce a directory "osdmaptool" to contain cli tests
for that tool, but all the files there were ignored because of these
rules.  Better be explicit about what you want ignored.

Move all ignores for generated binaries to be together.

Fixed "testecph" typo.

Added ignores for: testdout_streambuf testsignal_handlers testtimers.
2011-01-11 15:16:48 -08:00
Tommi Virtanen
9b0d577696 Use Google Test framework for unit tests.
Use ``make check`` to run the tests.

The src/gtest directory comes from ``svn export
http://googletest.googlecode.com/svn/tags/release-1.5.0 src/gtest``
and running "git add -f src/gtest".

gtest is licensed under the New BSD license, see src/gtest/COPYING.
For more on Google Test, see http://code.google.com/p/googletest/

Changed autogen.sh regenerate gtest automake files too. Make sure to
run ``./autogen.sh && ./configure`` after merging this commit, or
incremental builds may fail. The automake integration is inspired
heavily by the protobuf project, and may still be problematic.

Make git ignore files generated by gtest compilation.

Currently putting in just one new-style unit test, refactoring old
tests to fit will come in separate commits.

Note: if you are starting daemons, listening on TCP ports, using
multiple machines, mounting filesystems, etc, it's not a unit test
and does not belong in this setup. A framework for system/integration
tests will be provided later.
2011-01-10 15:19:45 -08:00
Tommi Virtanen
1a9ef3fae9 Make git ignore generated files. 2011-01-10 14:07:08 -08:00
Sage Weil
8b0bd3ea17 rename cmonctl -> ceph 2008-12-15 11:34:13 -08:00
Sage Weil
e7d366a7f9 buffer::read_file into pages to avoid c++ allocator's disagreement with perl 2008-03-19 18:19:36 -07:00
Sage Weil
06b1fbf01f makefile cleanup 2008-03-12 20:16:48 -07:00
Sage Weil
fb512c0bc8 mon: monmaptool; elector shares monmaps; some cleanup 2008-02-01 11:58:20 -08:00
Sage Weil
307723dea8 more automake fun 2008-01-28 11:39:51 -08:00
Sage Weil
13eb18fcd7 allow client to initially bind to INADDR_ANY and learn its ip from the monitor 2008-01-26 08:41:15 -08:00
Sage Weil
5c8211d093 ignore TAGS 2008-01-09 17:37:29 -08:00
Sage Weil
5c829c70df ignore mnt 2008-01-09 12:26:09 -08:00
Sage Weil
02bb9281b6 .gitignores 2007-12-20 09:24:54 -08:00