db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1188828 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java
Date Tue, 25 Oct 2011 17:50:48 GMT
Author: kristwaa
Date: Tue Oct 25 17:50:48 2011
New Revision: 1188828

URL: http://svn.apache.org/viewvc?rev=1188828&view=rev
Log:
DERBY-5283: Crash / process termination during SYSCS_DISABLE_LOG_ARCHIVE_MODE can leave service.properties
broken


Updated test with two new errors; XBM0B and XBM0C.

Patch file: derby-5283-2a-update_test_with_errorcodes.diff

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java?rev=1188828&r1=1188827&r2=1188828&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java
Tue Oct 25 17:50:48 2011
@@ -169,6 +169,8 @@ public final class ErrorCodeTest extends
         		{"XBM07","Startup failed. Boot password must be at least 8 bytes long.","45000"},
         		{"XBM08","Could not instantiate {0} StorageFactory class {1}.","45000"},
         		{"XBM0A","The database directory '{0}' exists. However, it does not contain the
expected '{1}' file. Perhaps Derby was brought down in the middle of creating this database.
You may want to delete this directory and try creating the database again.","45000"},
+			{"XBM0B","Failed to edit/write service properties file: {0}","45000"},
+			{"XBM0C","Missing privilege for operation '{0}' on file '{1}': {2}", "45000"},
         		{"XBM0G","Failed to start encryption engine. Please make sure you are running Java
2 and have downloaded an encryption provider such as jce and put it in your class path. ","45000"},
         		{"XBM0H","Directory {0} cannot be created.","45000"},
         		{"XBM0I","Directory {0} cannot be removed.","45000"},



Mime
View raw message