Martin Kojtal
2e96145b76
Merge pull request #11871 from AriParkkila/test-udpechotest-timeout
...
TESTS: Add socket.set_timeout in udpsocket_echotest
2019-11-16 07:55:53 +01:00
Chris Trowbridge
a1edbb9099
Switch to using mbed-trace for greentea test debug output
2019-11-15 11:18:13 -05:00
Ari Parkkila
ed754434b7
TESTS: Add socket.set_timeout in udpsocket_echotest
...
Some packet loss may be expected/allowed with UDP.
Set socket timeout to continue testing if no response is received within a timeout.
2019-11-14 06:04:37 -08:00
Martin Kojtal
09c24507c3
Merge pull request #11824 from rajkan01/feature-baremetal-greentea-net
...
Skip Bare Metal green tea test for Network component
2019-11-12 11:09:46 +01:00
RAJKUMAR KANAGARAJ
a682fde31c
Incorporated review comments
2019-11-11 05:01:23 -08:00
Martin Kojtal
816689d1bb
Merge pull request #11822 from tymoteuszblochmobica/tls
...
TLSSOCKET_HANDSHAKE_INVALID test skip if DNS AAA record not available.
2019-11-08 13:31:45 +01:00
RAJKUMAR KANAGARAJ
120ca1b245
Incorporated the review comments
2019-11-07 07:48:43 -08:00
Kimmo Vaisanen
582b16ffbc
Add sender address and port verification to UDPSOCKET_ECHOTEST
...
recvfrom method returns sender address and port and this commit
adds a test for it in UDPSOCKET_ECHOTEST.
2019-11-07 14:51:20 +02:00
Tymoteusz Bloch
eb3befdac9
TLSSOCKET_HANDSHAKE_INVALID test skip if DNS AAA record not available.
...
TLS test sevrver "badssl.com" doesn't support DNS AAA records for IPV6.
To avoid test fail if no IPV4 is chosen this test is skipped.
2019-11-06 17:57:19 +01:00
RAJKUMAR KANAGARAJ
c9eb48a0c5
Netsocket,lora,cellular,nework test case requires RTOS so MBED_CONF_RTOS_PRESENT guard to all test cases
2019-11-06 04:06:11 -08:00
Mirela Chirica
d2794c63c0
Cellular: Baud rate setting for UDPSOCKET_ECHOTES_BURST greentea test
2019-11-06 10:09:03 +02:00
Mirela Chirica
1993347532
Cellular: Baud rate setting for tls greentea tests
2019-11-06 10:08:34 +02:00
Martin Kojtal
5303b10509
Merge pull request #11693 from mtomczykmobica/ONME-4398
...
UDPSOCKET_ECHOTEST change to tolerate duplicate packets
2019-11-04 15:29:51 +01:00
Mirela Chirica
3fdbe2408d
Cellular: Baud rate setting for TCPSOCKET_RECV_100K greentea test
2019-11-01 17:22:06 +02:00
Marcin Tomczyk
11864c71aa
UDPSOCKET_ECHOTEST change to tolerate duplicate packets
2019-10-16 03:55:26 -07:00
Martin Kojtal
0e7d8927f1
Merge pull request #11615 from kivaisan/remove_deprecated_cellular_tests
...
Cellular: Remove old deprecated tests
2019-10-14 09:28:01 +02:00
Anna Bridge
51680cb55e
Merge pull request #11601 from michalpasztamobica/tests_dns_timeouts_esp8266
...
DNS tests modification for ESP8266-specific scenario
2019-10-07 16:49:11 +01:00
Anna Bridge
eeb033f814
Merge pull request #11357 from kivaisan/offloaded_tlssocket_bg96
...
Offloaded TLSSocket and BG96 support for it
2019-10-03 11:54:32 +01:00
Kimmo Vaisanen
b6ebfeea2c
Cellular: Remove old deprecated tests
...
Cellular tests have been replaced with generic mbed-os netsocket and network interface tests.
2019-10-03 10:24:12 +03:00
Michal Paszta
3297445ac2
Increase the timeout for DNS tests as their number increased
2019-10-01 15:14:44 +03:00
Michal Paszta
d6b77da270
Increase timeout in DNS_TIMEOUTS test for ESP8266
...
The test floods the device with UDP requests (it skips the 100 ms delay to simulate instant timeout). ESP8266 starts responding with "busy p..." message. It needs more time to process the data and recover for subsequent tests.
2019-10-01 15:14:25 +03:00
Antti Kauppila
f0eba17ca2
Added missing include
2019-09-30 14:50:26 +03:00
Antti Kauppila
f26074c7be
Added missing include + cleaned up some tests
2019-09-27 11:13:20 +03:00
Kimmo Vaisanen
986204f269
Fix TLSSocket tests
...
- set certs and keys after socket open() as required by offloaded TLSSocket
- Added more checks for invalid handshake test and removed google.com test as
as some modems (e.g. BG96) might contains root CA for google.com
2019-09-25 09:25:33 +03:00
Antti Kauppila
6adc2440a3
DNS manual cleanup mechanism added
2019-09-20 10:20:48 +03:00
Martin Kojtal
e134b22dab
Merge pull request #11473 from michalpasztamobica/gcc_warnings_fixes
...
Fix compilation warnings from GCC in netsocket/network tests
2019-09-19 10:36:16 +02:00
Martin Kojtal
926ffb0ede
Merge pull request #11440 from mtomczykmobica/ONME-4239
...
Add missing documentation about tls testing
2019-09-18 11:23:38 +02:00
Michal Paszta
9ce69b6f7d
Fix compilation warnings from GCC
2019-09-16 12:11:26 +03:00
Marcin Tomczyk
df8e3c87fe
Add missing documentation about tls testing - review comments fixes
2019-09-12 07:51:30 +02:00
Amanda Butler
4c3cca028e
Edit README.md
...
Edit document.
2019-09-10 15:20:55 -05:00
Marcin Tomczyk
da8dbca561
Add missing documentation about tls testing
2019-09-09 11:54:19 +02:00
Tymoteusz Bloch
126ac1e559
DNS cache synchronous fix - Non zero TTL test server change
2019-09-05 17:21:33 +02:00
Michal Paszta
05e94afca3
Replace TEST_ASSERT_INT_WITHIN usage in netsocket tests
...
IPCore's netsocket tests are expected to run all tests even if some of them fail. The TEST_ASSERT_INT_WITHIN macro sets a global variable Unity.CurrentTestFailed which prevents further checks and gives incorrect failure count. Other assertion macros in Unity do not do that.
2019-08-22 14:32:59 +03:00
Teppo Järvelin
65bf17eff5
Fix netsocket tests for IAR
...
Test case printed IP address. If ip address is null, IAR compiled binary fails.
Added check for printing null. If IP address is null, then it prints string 'null'.
2019-08-15 15:26:36 +03:00
Teppo Järvelin
ce36104ab3
Fix netsocket DNS test for IAR
...
Test case printed IP address. If ip address is null, IAR compiled binary fails.
Added check for printing null. If IP address is null, then it prints string 'null'.
2019-08-12 09:39:41 +03:00
Seppo Takalo
818c1d6f0f
Merge pull request #11130 from Tharazi97/NotSupportedTest
...
Updated testcases
2019-08-02 13:27:54 +03:00
int_szyk
ae6f8be146
Newline at the end of files
2019-08-01 08:44:58 +02:00
int_szyk
8b68a1ea58
Updated testcases
2019-07-31 10:46:38 +02:00
Ari Parkkila
71c7ed2fb4
Cellular: Add BG96 AT driver with DNS support
2019-07-31 00:19:05 -07:00
Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Tymoteusz Bloch
c22350589d
UDPSOCKET_ECHOTEST_NONBLOCK performance improvement.
2019-06-10 11:20:12 +02:00
Martin Kojtal
dd77957d45
Merge pull request #10665 from tymoteuszblochmobica/json
...
Add hardcoded Echo server defaults for Greentea socket tests.
2019-06-09 18:05:03 +01:00
Kevin Bracey
2fbbd9d2ca
Introduce Semaphore::acquire methods
...
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().
Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".
Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
Tymoteusz Bloch
d42ed4e6a9
Added hardcoded Echo server defaults for Greentea socket tests.
2019-05-27 14:41:17 +02:00
Mirela Chirica
26facc7f9b
Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test
...
Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
2019-05-08 10:43:08 +03:00
Michal Paszta
d1017ea274
UDPSOCKET_ECHOTEST fails if a packet of any given size was not sent at least once
2019-04-18 11:38:11 +03:00
Martin Kojtal
79dddf84f0
Merge pull request #10381 from michalpasztamobica/echotests_loop_fix
...
ECHOTEST internal loop simplification and fix
2019-04-16 08:45:25 +01:00
Michal Paszta
631540a421
ECHOTEST internal loop simplification and fix
...
The loop was wrongly incrementing the index of the array after assiging
the value. Thus the first array element was used twice and the last one
was never user. The issue is fixed and the loops are refactored and
simplified to avoid such confusion in the future.
2019-04-15 11:54:03 +03:00
Tymoteusz Bloch
42b5680697
Multihoming fixed according to new LWIP implementation.
2019-04-11 20:54:48 -05:00
Michal Paszta
872edd4964
Relax TLSSOCKET_RECV_TIMEOUT sigio timeout
2019-04-08 12:56:41 +03:00