@@ -29,34 +29,36 @@ run_with_valgrind() {
2929# Initialize.
3030
3131git submodule update --init
32- cargo test --no-run
3332docker-compose up -d
33+ cargo test
3434
3535# Run unit tests.
3636
37- echo_good " *** Run unit tests ***"
38- for test_file in target/debug/deps/rdkafka-*
39- do
40- if [[ -x " $test_file " ]]
41- then
42- echo_good " Executing " $test_file " "
43- run_with_valgrind " $test_file "
44- fi
45- done
46- echo_good " *** Unit tests succeeded ***"
47-
48- # Run integration tests.
49-
50- echo_good " *** Run unit tests ***"
51- for test_file in target/debug/deps/test_*
52- do
53- if [[ -x " $test_file " ]]
54- then
55- echo_good " Executing " $test_file " "
56- run_with_valgrind " $test_file "
57- fi
58- done
59- echo_good " *** Integration tests succeeded ***"
37+ # echo_good "*** Run unit tests ***"
38+ # for test_file in target/debug/deps/rdkafka-*
39+ # do
40+ # if [[ -x "$test_file" ]]
41+ # then
42+ # echo_good "Executing "$test_file""
43+ # run_with_valgrind "$test_file"
44+ # fi
45+ # done
46+ # echo_good "*** Unit tests succeeded ***"
47+ #
48+ # # Run integration tests.
49+ #
50+ # echo_good "*** Run integration tests ***"
51+ # for test_file in target/debug/deps/test_*
52+ # do
53+ # if [[ -x "$test_file" ]]
54+ # then
55+ # #echo_good "*** Restarting kafka/zk ***"
56+ # #docker-compose restart --timeout 30
57+ # echo_good "Executing "$test_file""
58+ # run_with_valgrind "$test_file"
59+ # fi
60+ # done
61+ # echo_good "*** Integration tests succeeded ***"
6062
6163# Run smol runtime example.
6264
0 commit comments