Permalink
Browse files

Do actually run the insert_outliers/5 tests

The tests for insert_outliers/5 weren't run, caused by
a typo.

Change-Id: Ib11cbf49c70faad93aae8e21a6be31f63a561659
Reviewed-on: http://review.couchbase.org/13514
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  • Loading branch information...
1 parent 2a81352 commit ee8c3953cb70ec575dcc5538213b82226358446c @vmx vmx committed with alk Feb 23, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 test/002-bulk.t
View
@@ -32,7 +32,7 @@
main(_) ->
code:add_pathz(filename:dirname(escript:script_name())),
gc_test_util:init_code_path(),
- etap:plan(99),
+ etap:plan(119),
case (catch test()) of
ok ->
etap:end_tests();
@@ -988,7 +988,7 @@ test_insert_outliers() ->
[Node|Acc]
end, [], lists:seq(1,300)),
- {ResultPos1, ResultHeight1} = ?MOD:insert_outlliers(
+ {ResultPos1, ResultHeight1} = ?MOD:insert_outliers(
Fd, TargetPos, TargetMbr, TargetHeight, Nodes1),
etap:is(ResultHeight1, 5,
"Height is correct (insert_outliers) "
@@ -1014,7 +1014,7 @@ test_insert_outliers() ->
[Node|Acc]
end, [], lists:seq(1,1000)),
- {ResultPos2, ResultHeight2} = ?MOD:insert_outlliers(
+ {ResultPos2, ResultHeight2} = ?MOD:insert_outliers(
Fd, TargetPos, TargetMbr, TargetHeight, Nodes2),
etap:is(ResultHeight2, 6,
"Height is correct (insert_outliers) "
@@ -1039,7 +1039,7 @@ test_insert_outliers() ->
[Node|Acc]
end, [], lists:seq(1,1500)),
- {ResultPos3, ResultHeight3} = ?MOD:insert_outlliers(
+ {ResultPos3, ResultHeight3} = ?MOD:insert_outliers(
Fd, TargetPos, TargetMbr, TargetHeight, Nodes3),
etap:is(ResultHeight3, 6,
"Height is correct (insert_outliers) "
@@ -1064,7 +1064,7 @@ test_insert_outliers() ->
[Node|Acc]
end, [], lists:seq(1,4000)),
- {ResultPos4, ResultHeight4} = ?MOD:insert_outlliers(
+ {ResultPos4, ResultHeight4} = ?MOD:insert_outliers(
Fd, TargetPos, TargetMbr, TargetHeight, Nodes4),
etap:is(ResultHeight4, 7,
"Height is correct (insert_outliers) "
@@ -1089,7 +1089,7 @@ test_insert_outliers() ->
[Node|Acc]
end, [], lists:seq(1,7)),
- {ResultPos5, ResultHeight5} = ?MOD:insert_outlliers(
+ {ResultPos5, ResultHeight5} = ?MOD:insert_outliers(
Fd, TargetPos, TargetMbr, TargetHeight, Nodes5),
etap:is(ResultHeight5, 4,
"Height is correct (insert_outliers) "
@@ -1114,7 +1114,7 @@ test_insert_outliers() ->
[Node|Acc]
end, [], lists:seq(1,16)),
- {ResultPos6, ResultHeight6} = ?MOD:insert_outlliers(
+ {ResultPos6, ResultHeight6} = ?MOD:insert_outliers(
Fd, TargetPos, TargetMbr, TargetHeight, Nodes6),
etap:is(ResultHeight6, 4,
"Height is correct (insert_outliers) "

0 comments on commit ee8c395

Please sign in to comment.