Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferenc Böröczki committed Apr 27, 2018
1 parent e69d11f commit 2cfce81
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/unsplit_2nodes_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -93,31 +93,31 @@ change_existing_records(Conf) ->
{atomic, ok} = write(Node2, [Element2V1]),
ct:sleep(100),

ckeck_element(Node1, K1, Element1V1),
ckeck_element(Node2, K1, Element1V1),
ckeck_element(Node1, K2, Element2V1),
ckeck_element(Node2, K2, Element2V1),
check_element(Node1, K1, Element1V1),
check_element(Node2, K1, Element1V1),
check_element(Node1, K2, Element2V1),
check_element(Node2, K2, Element2V1),

disconnect(Node1, Node2),

{atomic, ok} = write(Node1, [Element1V2]),
{atomic, ok} = write(Node2, [Element2V2]),

ckeck_element(Node1, K1, Element1V2),
ckeck_element(Node2, K1, Element1V1),
ckeck_element(Node1, K2, Element2V1),
ckeck_element(Node2, K2, Element2V2),
check_element(Node1, K1, Element1V2),
check_element(Node2, K1, Element1V1),
check_element(Node1, K2, Element2V1),
check_element(Node2, K2, Element2V2),

connect(Node1, Node2),

ckeck_element(Node1, K1, Element1V2),
ckeck_element(Node2, K1, Element1V2),
ckeck_element(Node1, K2, Element2V2),
ckeck_element(Node2, K2, Element2V2),
check_element(Node1, K1, Element1V2),
check_element(Node2, K1, Element1V2),
check_element(Node1, K2, Element2V2),
check_element(Node2, K2, Element2V2),

ok.

ckeck_element(Node, Key, Element) ->
check_element(Node, Key, Element) ->
{atomic, [Element]} = read(Node, Key).

compare_table_size([Node1, Node2 | _], Table) ->
Expand Down

0 comments on commit 2cfce81

Please sign in to comment.