summaryrefslogtreecommitdiff
path: root/src/tests/ecore_con
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-05 16:59:08 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-05 17:09:34 +0900
commit8889daa7c51ba4414cc77921000ae97ed7fe11c8 (patch)
tree8e20da5703be40867732d46d732107e1d4609c81 /src/tests/ecore_con
parent89d5479c0bde1f78184337e916acec65cef9f9df (diff)
ecore con eet test - dont use localhost port 8080
so thats a common local port to use for other things... 8080 - don't use it, so use 12346 much like 12345 is for the other tests. far less likely to clash. fix up tests to work better.
Diffstat (limited to 'src/tests/ecore_con')
-rw-r--r--src/tests/ecore_con/ecore_con_test_ecore_con_eet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c b/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
index c8801bb..962b9f3 100644
--- a/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
+++ b/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
@@ -124,7 +124,7 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_cl)
124 _ece_test_descriptor_init(); 124 _ece_test_descriptor_init();
125 125
126 svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1", 126 svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1",
127 8080, NULL); 127 12346, NULL);
128 fail_if(!svr); 128 fail_if(!svr);
129 129
130 ece_svr = ecore_con_eet_server_new(svr); 130 ece_svr = ecore_con_eet_server_new(svr);
@@ -141,7 +141,7 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_cl)
141 _eet_client_discnct_cb, NULL); 141 _eet_client_discnct_cb, NULL);
142 142
143 cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1", 143 cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1",
144 8080, NULL); 144 12346, NULL);
145 fail_if(!cl); 145 fail_if(!cl);
146 146
147 ece_cl = ecore_con_eet_client_new(cl); 147 ece_cl = ecore_con_eet_client_new(cl);
@@ -206,7 +206,7 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_del)
206 _ece_test_descriptor_init(); 206 _ece_test_descriptor_init();
207 207
208 svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1", 208 svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1",
209 8080, NULL); 209 12346, NULL);
210 fail_if(!svr); 210 fail_if(!svr);
211 211
212 ece_svr = ecore_con_eet_server_new(svr); 212 ece_svr = ecore_con_eet_server_new(svr);
@@ -219,7 +219,7 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_del)
219 _eet_svr_raw_data_cb, svr); 219 _eet_svr_raw_data_cb, svr);
220 220
221 cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1", 221 cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1",
222 8080, NULL); 222 12346, NULL);
223 fail_if(!cl); 223 fail_if(!cl);
224 224
225 ece_cl = ecore_con_eet_client_new(cl); 225 ece_cl = ecore_con_eet_client_new(cl);