You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by st...@apache.org on 2015/05/17 13:21:20 UTC

[34/37] tomee git commit: TOMEE-1572 force eager session creation for the TCK

TOMEE-1572 force eager session creation for the TCK


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/f27aaf09
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/f27aaf09
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/f27aaf09

Branch: refs/heads/master
Commit: f27aaf09fe50c33605b4cb36c8323305ff6e2320
Parents: ae3b0e2
Author: Mark Struberg <st...@apache.org>
Authored: Sat May 16 15:33:06 2015 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Sat May 16 15:33:06 2015 +0200

----------------------------------------------------------------------
 .../openwebbeans/openwebbeans.properties        | 24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/f27aaf09/tck/cdi-tomee/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
----------------------------------------------------------------------
diff --git a/tck/cdi-tomee/src/test/resources/META-INF/openwebbeans/openwebbeans.properties b/tck/cdi-tomee/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
new file mode 100644
index 0000000..7e7ca6a
--- /dev/null
+++ b/tck/cdi-tomee/src/test/resources/META-INF/openwebbeans/openwebbeans.properties
@@ -0,0 +1,24 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+
+# this contains a few additional config tweaks for the TCK
+configuration.ordinal=100
+
+# Enable eager session initialisation.
+# This is needed because some few TCK tests send back a response and only access a @SessionScoped bean afterwards.
+org.apache.webbeans.web.eagerSessionInitialisation=true