Skip to content

Commit 22bbf43

Browse files
committed
Reorganize the extended test suite and prepare for 6.7.1 release
1 parent 4aabadb commit 22bbf43

21 files changed

+245
-358
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# node-oracledb version 6.7.1-dev
2-
3-
**This release is under development and information may be incomplete**
1+
# node-oracledb version 6.7.1
42

53
The node-oracledb add-on for Node.js powers high performance Oracle Database
64
applications. Applications can be written in TypeScript, or directly in
75
JavaScript.
86

9-
Use node-oracledb 6.7.1-dev to connect Node.js 14.6, or later, to Oracle
7+
Use node-oracledb 6.7.1 to connect Node.js 14.6, or later, to Oracle
108
Database. Older versions of node-oracledb may work with older versions of
119
Node.js.
1210

doc/src/release_notes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Common Changes
2323
#) Fixed bug that may cause runtime issues in some JavaScript frameworks.
2424
See `Issue #1706 <https://github.com/oracle/node-oracledb/issues/1706>`__.
2525

26+
#) Added test cases with an extended test suite, more examples and
27+
documentation improvements.
28+
2629
Thin Mode Changes
2730
+++++++++++++++++
2831

@@ -97,6 +100,8 @@ Common Changes
97100
#) Remove the 'Critical Dependency' warning from webpack builds.
98101
See `Issue #1678 <https://github.com/oracle/node-oracledb/issues/1678>`__.
99102

103+
#) Test and documentation updates.
104+
100105
Thin Mode Changes
101106
+++++++++++++++++
102107

lib/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ module.exports = {
3232
VERSION_MAJOR: 6,
3333
VERSION_MINOR: 7,
3434
VERSION_PATCH: 1,
35-
VERSION_SUFFIX: '-dev'
35+
VERSION_SUFFIX: ''
3636
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oracledb",
3-
"version": "6.7.1-dev",
3+
"version": "6.7.1",
44
"description": "A Node.js module for Oracle Database access from JavaScript and TypeScript",
55
"license": "(Apache-2.0 OR UPL-1.0)",
66
"homepage": "http://oracle.github.io/node-oracledb/",

test/ext/release-check-tests/standalone/23aiConnectionPoolOptimize.js renamed to test/ext/release-check-tests/23aiConnectionPoolOptimize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
Error.stackTraceLimit = 50;
4444

4545
const oracledb = require('oracledb');
46-
const dbConfig = require('../../../dbconfig.js');
46+
const dbConfig = require('../../dbconfig.js');
4747

4848
async function createCloseConns(num) {
4949
const promises = [];

test/ext/release-check-tests/README.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,17 @@ The tests in test/ext/release-check-tests/ serve as a supplement for our public
55
This directory and its sub-directories may:
66

77
- require specific database configurations (utf-8 support, extended character set, multiple schemas, etc.)
8-
- print logs no matter what (pool._logStats())
8+
- print logs no matter what (pool.logStatistics())
99
- consume fairly long time
1010

11-
## Before run private tests
12-
Some private tests need `SYSDBA` privileges. Please modify test/ext/release-check-tests/test/dbaconfig.js
13-
to change the dba username and password of your database before run private tests.
11+
## Run edge-case tests
1412

15-
## Run private tests
16-
Run the private mocha test suites with:
17-
mocha --opts test/ext/release-check-tests/test/opts/mocha.opts
1813
mocha --opts test/ext/release-check-tests/edge-max-cases/opts/mocha.opts
1914

20-
## Tests in test/ext/release-check-tests/standalone/
21-
These tests need to check the result manually.
22-
23-
## Tests in test/ext/release-check-tests/test/ and test/ext/release-check-tests/standalone/
15+
## Tests in test/ext/release-check-tests/
2416

2517
These tests will be included in code coverage calculations.
2618

27-
## DRCP connection test
28-
29-
Test in test/ext/release-check-tests/test/drcpConnection.js
30-
Before running the test, make sure DRCP is configured on server side and client url.
31-
3219
## MAX_STRING_SIZE=EXTENDED tests
3320

3421
Tests in test/ext/release-check-tests/extended-character-set

test/ext/release-check-tests/standalone/bfileTypeTest.js renamed to test/ext/release-check-tests/bfileTypeTest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737

3838
const oracledb = require('oracledb');
3939
const assert = require('assert');
40-
const dbConfig = require('../../../dbconfig.js');
41-
const testsUtil = require('../../../testsUtil.js');
40+
const dbConfig = require('../../dbconfig.js');
41+
const testsUtil = require('../../testsUtil.js');
4242

4343
describe('308. bfileTestType.js', function() {
4444
let conn, dbaConn;

test/ext/release-check-tests/standalone/breakLargeReadData.js renamed to test/ext/release-check-tests/breakLargeReadData.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
'use strict';
3838

3939
const oracledb = require('oracledb');
40-
const dbConfig = require('../../../dbconfig.js');
41-
const testsUtil = require('../../../testsUtil.js');
42-
const random = require('../../../random.js');
40+
const dbConfig = require('../../dbconfig.js');
41+
const testsUtil = require('../../testsUtil.js');
42+
const random = require('../../random.js');
4343
const assert = require('assert');
4444

4545
describe('279.1 simulate break while reading Multiple packets', function() {

test/ext/release-check-tests/standalone/brk.js renamed to test/ext/release-check-tests/brk.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
const oracledb = require('oracledb');
3333
const assert = require('assert');
34-
const dbConfig = require('../../../dbconfig.js');
35-
const random = require('../../../random.js');
34+
const dbConfig = require('../../dbconfig.js');
35+
const random = require('../../random.js');
3636

3737
describe('brk.js', function() {
3838
this.timeout(100000);

test/ext/release-check-tests/standalone/databaseLink.js renamed to test/ext/release-check-tests/databaseLink.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151

5252
const assert = require('assert');
5353
const oracledb = require('oracledb');
54-
const dbConfig = require('../../../dbconfig.js');
55-
const testsUtil = require('../../../testsUtil.js');
56-
const random = require('../../../random.js');
54+
const dbConfig = require('../../dbconfig.js');
55+
const testsUtil = require('../../testsUtil.js');
56+
const random = require('../../random.js');
5757

5858
describe('1. vectorDatabaseLink.js', function() {
5959
if (!process.env.NODE_ORACLEDB_CONNECTIONSTRING1) {

0 commit comments

Comments
 (0)