Skip to content

Commit e384af5

Browse files
committed
[misc] remove ephemeral test not implemented
1 parent b04e070 commit e384af5

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

test/integration/test-ssl.js

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -128,41 +128,6 @@ describe('ssl', function () {
128128
}
129129
});
130130

131-
it('signed certificate error with ephemeral', async function () {
132-
if (!sslEnable) this.skip();
133-
let isMaxscaleEphemeral = false;
134-
if (isMaxscale() && isMaxscaleMinVersion(25, 8, 0)) {
135-
// MaxScale implements this in the 25.08 release
136-
isMaxscaleEphemeral = true;
137-
} else if (
138-
!shareConn.info.isMariaDB() ||
139-
!shareConn.info.hasMinVersion(11, 4, 0) ||
140-
shareConn.info.hasMinVersion(23, 0, 0) ||
141-
(isMaxscale() && !isMaxscaleMinVersion(25, 8, 0))
142-
)
143-
this.skip();
144-
let conn = null;
145-
try {
146-
conn = await base.createConnection({
147-
user: 'sslTestUser',
148-
password: 'ytoKS@led5',
149-
ssl: true,
150-
port: sslPort
151-
});
152-
await validConnection(conn);
153-
// if not ephemeral certificate must throw error
154-
if (
155-
!isMaxscaleEphemeral &&
156-
!shareConn.info.isMariaDB() &&
157-
(!shareConn.info.hasMinVersion(11, 4, 0) || shareConn.info.hasMinVersion(23, 0, 0))
158-
) {
159-
throw new Error('Must have thrown an exception !');
160-
}
161-
} finally {
162-
if (conn != null) conn.end();
163-
}
164-
});
165-
166131
it('signed certificate forcing', async function () {
167132
if (!sslEnable) this.skip();
168133
const conn = await base.createConnection({ ssl: { rejectUnauthorized: false }, port: sslPort });

0 commit comments

Comments
 (0)