Fix intermittent ToasterTest failures 77/21777/2
authorTom Pantelis <tpanteli@brocade.com>
Sat, 30 May 2015 05:54:44 +0000 (01:54 -0400)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 4 Jun 2015 03:59:38 +0000 (03:59 +0000)
The ToasterTest has been intermittently failing on jenkins for a while.
I repro'ed it locally after 5 tries. An error occurs indicating it
can't find the pingpong-databroker namespace. Not sure why this occurs
intermittently.

The test doesn't need/use the pingpong databroker so I commented it out
in the controller.xml. After this change the test ran successfully 80
times.

Change-Id: Id0cfdd2464218173e91392ac9bb66e60a8f51595
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
(cherry picked from commit 817fba4cbd618da7f587b3a5c33ac1dd2450e983)

opendaylight/md-sal/samples/toaster-it/src/test/resources/controller.xml

index bdbdb7bc40cf1a166095a21fd0af66e43aa30b00..c1f2ff249040a0a5981813a828f2d70669a4b007 100644 (file)
                 </module>
 
                 <!-- PingPong broker -->
+                <!--
                 <module>
                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong">prefix:pingpong-data-broker</type>
                     <name>pingpong-data-broker</name>
                         </binding-mapping-service>
                     </binding-forwarded-data-broker>
                         </module>
-
+                  -->
                         <!--
                              Tree-based in-memory data store. This is the data store which is currently
                              recommended for single-node deployments.
                                 <name>binding-data-broker</name>
                                 <provider>/modules/module[type='binding-forwarded-data-broker'][name='binding-async-data-broker']</provider>
                             </instance>
+                        <!--
                         <instance>
                             <name>pingpong-binding-data-broker</name>
                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='pingpong-binding-data-broker']</provider>
                         </instance>
+                        -->
                         </service>
 
                         <service>
                                 <name>inmemory-data-broker</name>
                                 <provider>/modules/module[type='dom-inmemory-data-broker'][name='inmemory-data-broker']</provider>
                             </instance>
+                            <!--
                             <instance>
                                 <name>pingpong-broker</name>
                                 <provider>/modules/module[type='pingpong-data-broker'][name='pingpong-data-broker']</provider>
                             </instance>
+                            -->
                         </service>
 
                         <!-- Toaster samples -->