Hi, Deepa. It looks like the original intent of this test is just to make sure that the ErrorMessages VTI looked sane.

Why are you adding all these extra select statements to specifically look for every single message with a severity >= session? Were there certain bugs that you were encountering that motivated you to add these tests?

Thanks!

David


Deepa Remesh (JIRA) wrote:
     [ http://issues.apache.org/jira/browse/DERBY-682?page=all ]

Deepa Remesh updated DERBY-682:
-------------------------------

    Attachment: derby-682.diff
                derby-682.status

Attaching 'derby-682.diff'. This patch adds SQLStates with severity >=session_severity to the test lang/errorCode.sql. It also updates master files. With this patch, I ran the test lang/errorCode.sql with Sun JDK 1.4.2 and IBM WSDD5.6 j9_13 VM.
This patch covers only embedded driver. I will submit another patch for client 
driver tests. I will also open another JIRA issue to clean up duplicate entries 
for SQLStates.


Add tests for error codes for severe exceptions
-----------------------------------------------

        Key: DERBY-682
        URL: http://issues.apache.org/jira/browse/DERBY-682
    Project: Derby
       Type: Bug
 Components: Test
   Versions: 10.2.0.0
   Reporter: Deepa Remesh
   Assignee: Deepa Remesh
   Priority: Minor
Attachments: derby-682.diff, derby-682.status

Add tests to test error codes for disconnect exceptions and other severe errors 
for client and embedded drivers.


begin:vcard
fn:David W Van Couvering
n:Van Couvering;David W
org:Sun Microsystems, Inc.;Database Technology Group
email;internet:[EMAIL PROTECTED]
title:Senior Staff Software Engineer
tel;work:510-550-6819
tel;cell:510-684-7281
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to