diff options
Diffstat (limited to 'cpp/src/tests')
-rw-r--r-- | cpp/src/tests/DtxWorkRecordTest.cpp | 6 | ||||
-rwxr-xr-x | cpp/src/tests/python_tests | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/tests/DtxWorkRecordTest.cpp b/cpp/src/tests/DtxWorkRecordTest.cpp index fc1e536ce3..d7d151f8d6 100644 --- a/cpp/src/tests/DtxWorkRecordTest.cpp +++ b/cpp/src/tests/DtxWorkRecordTest.cpp @@ -59,7 +59,7 @@ class DtxWorkRecordTest : public CppUnit::TestCase work.add(bufferA); work.add(bufferB); - work.commit(); + work.commit(true); store.check(); CPPUNIT_ASSERT(store.isCommitted()); @@ -93,7 +93,7 @@ class DtxWorkRecordTest : public CppUnit::TestCase work.add(bufferB); work.add(bufferC); - work.commit(); + work.commit(true); CPPUNIT_ASSERT(store.isAborted()); store.check(); @@ -125,7 +125,7 @@ class DtxWorkRecordTest : public CppUnit::TestCase CPPUNIT_ASSERT(work.prepare()); CPPUNIT_ASSERT(store.isPrepared()); - work.commit(); + work.commit(false); store.check(); CPPUNIT_ASSERT(store.isCommitted()); opA->check(); diff --git a/cpp/src/tests/python_tests b/cpp/src/tests/python_tests index dbf56a512a..2c0b6b2071 100755 --- a/cpp/src/tests/python_tests +++ b/cpp/src/tests/python_tests @@ -1,7 +1,7 @@ #!/bin/sh # Run the python tests. if test -d ../../../python ; then - cd ../../../python && ./run-tests -v -s "0-9" -I cpp_failing_0-9.txt $PYTHON_TESTS + cd ../../../python && ./run-tests -v -s "0-9" -e ../specs/amqp-dtx-preview.0-9.xml -I cpp_failing_0-9.txt $PYTHON_TESTS else echo Warning: python tests not found. fi |