comparison tests/TLSTester.java @ 943:ff075ed5ce81

Spell check.
author Sjoerd Mullender <sjoerd@acm.org>
date Thu, 09 Jan 2025 10:56:14 +0100 (3 months ago)
parents d416e9b6b3d0
children
comparison
equal deleted inserted replaced
942:45c26b1a0677 943:ff075ed5ce81
297 throw new RuntimeException("Test " + testName + " was supposed to throw an Exception saying 'Sorry, this is not a real MonetDB instance'"); 297 throw new RuntimeException("Test " + testName + " was supposed to throw an Exception saying 'Sorry, this is not a real MonetDB instance'");
298 } catch (SQLException e) { 298 } catch (SQLException e) {
299 if (e.getMessage().startsWith("Sorry, this is not a real MonetDB instance")) { 299 if (e.getMessage().startsWith("Sorry, this is not a real MonetDB instance")) {
300 // it looks like a failure but this is actually our success scenario 300 // it looks like a failure but this is actually our success scenario
301 // because this is what the TLS Tester does when the connection succeeds. 301 // because this is what the TLS Tester does when the connection succeeds.
302 endVerbose("succesful MAPI handshake, as expected"); 302 endVerbose("successful MAPI handshake, as expected");
303 return; 303 return;
304 } 304 }
305 // other exceptions ARE errors and should be reported. 305 // other exceptions ARE errors and should be reported.
306 throw e; 306 throw e;
307 } 307 }