Fix intermittent ToasterTest failures 94/21494/2
authorTom Pantelis <tpanteli@brocade.com>
Sat, 30 May 2015 05:54:44 +0000 (01:54 -0400)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 3 Jun 2015 13:48:11 +0000 (13:48 +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>
opendaylight/md-sal/samples/toaster-it/src/test/resources/controller.xml

index 13e9afe4fe82823321695a7463fdc5ab0b9a8401..1449984fd36a27cf76662d90aa9007629071a545 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 -->