From 2cfce8140856c68e3ebb3a85f82571747f8a8858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20B=C3=B6r=C3=B6czki?= Date: Fri, 27 Apr 2018 16:57:05 +0200 Subject: [PATCH] typo fix --- test/unsplit_2nodes_SUITE.erl | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/unsplit_2nodes_SUITE.erl b/test/unsplit_2nodes_SUITE.erl index 7469c78..fa68f46 100644 --- a/test/unsplit_2nodes_SUITE.erl +++ b/test/unsplit_2nodes_SUITE.erl @@ -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) ->