From 8780156706350a56b763d70f8672d0343f9f9e54 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Wed, 8 May 2019 09:50:00 +0200 Subject: Fix bad merge from maint-21 --- lib/common_test/doc/src/notes.xml | 237 ++++++++++---------------------------- 1 file changed, 60 insertions(+), 177 deletions(-) (limited to 'lib/common_test/doc/src/notes.xml') diff --git a/lib/common_test/doc/src/notes.xml b/lib/common_test/doc/src/notes.xml index fac1b09e44..a1bd6d64b0 100644 --- a/lib/common_test/doc/src/notes.xml +++ b/lib/common_test/doc/src/notes.xml @@ -33,6 +33,66 @@ notes.xml +
Common_Test 1.17.2 + +
Fixed Bugs and Malfunctions + + +

+ The test result when a hook function fails is in general + the same as if the function that the hook is associated + with fails. For example, if post_init_per_testcase + fails the result is that the test case is skipped, as is + the case when init_per_testcase fails.This, + however, was earlier not true for timetrap timeouts or + other error situations where the process running the hook + function was killed. This is now corrected, so the error + handling should be the same no matter how the hook + function fails.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15717 Aux Id: ERIERL-334

+
+ +

+ In some rare cases, when two common_test nodes used the + same log directory, a timing problem could occur which + caused common_test to crash because it's log cache file + was unexpectedly empty. This is now corrected.

+

+ Own Id: OTP-15758 Aux Id: ERIERL-342

+
+
+
+ + +
Improvements and New Features + + +

+ Two new common_test hook functions are introduced:

+

+ post_groups/2, which is called after + Suite:groups/0
post_all/3, which is + called after Suite:all/0

+

+ These functions allow modifying the return values from + the groups/0 and all/0 functions, + respectively.

+

+ A new term, {testcase,TestCase,RepeatProperties} + is now also allowed in the return from all/0. This + can be used for repeating a single test case a specific + number of times, or until it fails or succeeds once.

+

+ Own Id: OTP-14746 Aux Id: ERIERL-143

+
+
+
+ +
+
Common_Test 1.17.1
Improvements and New Features @@ -216,183 +276,6 @@
-
Common_Test 1.17.2 - -
Fixed Bugs and Malfunctions - - -

- The test result when a hook function fails is in general - the same as if the function that the hook is associated - with fails. For example, if post_init_per_testcase - fails the result is that the test case is skipped, as is - the case when init_per_testcase fails.This, - however, was earlier not true for timetrap timeouts or - other error situations where the process running the hook - function was killed. This is now corrected, so the error - handling should be the same no matter how the hook - function fails.

-

- *** POTENTIAL INCOMPATIBILITY ***

-

- Own Id: OTP-15717 Aux Id: ERIERL-334

-
- -

- In some rare cases, when two common_test nodes used the - same log directory, a timing problem could occur which - caused common_test to crash because it's log cache file - was unexpectedly empty. This is now corrected.

-

- Own Id: OTP-15758 Aux Id: ERIERL-342

-
-
-
- - -
Improvements and New Features - - -

- Two new common_test hook functions are introduced:

-

- post_groups/2, which is called after - Suite:groups/0
post_all/3, which is - called after Suite:all/0

-

- These functions allow modifying the return values from - the groups/0 and all/0 functions, - respectively.

-

- A new term, {testcase,TestCase,RepeatProperties} - is now also allowed in the return from all/0. This - can be used for repeating a single test case a specific - number of times, or until it fails or succeeds once.

-

- Own Id: OTP-14746 Aux Id: ERIERL-143

-
-
-
- -
- -
Common_Test 1.17.1 - -
Improvements and New Features - - -

- OTP internal test improvements.

-

- Own Id: OTP-15716

-
-
-
- -
- -
Common_Test 1.17 - -
Fixed Bugs and Malfunctions - - -

- A bug caused ct:encrypt_config_file/3 and - ct:decrypt_config_file/3 to fail with - badmatch if input parameter KeyOrFile was - {key,string()}. This is now corrected.

-

- Own Id: OTP-15540

-
- -

- The status of a test case which failed with timetrap - timeout in end_per_testcase could not be modified - by returning {fail,Reason} from a - post_end_per_testcase hook function. This is now - corrected.

-

- Own Id: OTP-15584 Aux Id: ERIERL-282

-
-
-
- - -
Improvements and New Features - - -

- A new variant of the newline option to - ct_telnet:cmd/3 and ct_telnet:send/3 is - added, which allows to specify a string to append as - newline indicator on a command. By default, the value is - "\n", but in some cases it is required to be "\r\n", - which this option allows.

-

- A faulty regular expression given as parameter to - ct_telnet:expect/2,3 would earlier crash and look - like an internal error in common_test. A better error - indication is now given, but the test case will still - fail.

-

- Own Id: OTP-15229 Aux Id: ERIERL-203

-
- -

- Since the yang RFC allows more than one top element of - config data in an edit-config element, - ct_netconfc:edit_config/3,4,5 can now take a list - of XML elements.

-

- Own Id: OTP-15298

-
-
-
- -
- -
Common_Test 1.16.1 - -
Fixed Bugs and Malfunctions - - -

- The Logger handler cth_log_redirect earlier called the - report callback (report_cb) before calling the logger - formatter. In some cases this would fail, since - cth_log_redirect could not handle report callbacks with - two arguments. This is now corrected, so only the - formatter will call the report callback.

-

- Own Id: OTP-15307

-
-
-
- -
- -
Common_Test 1.16 - -
Improvements and New Features - - -

Use the compiler option nowarn_export_all to - disable export_all warnings when automatically - compiling test suites.

-

- Own Id: OTP-14810

-
- -

- Use uri_string module instead of http_uri.

-

- Own Id: OTP-14902

-
-
-
- -
-
Common_Test 1.15.4.1
Fixed Bugs and Malfunctions -- cgit v1.2.3