]> git.proxmox.com Git - mirror_frr.git/blobdiff - tests/topotests/cspf_topo1/test_cspf_topo1.py
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / tests / topotests / cspf_topo1 / test_cspf_topo1.py
index 220ec49768b834c63ee05d9639e3f88560ce47b4..072a2dd1341c1c7cac6392c84514e9ec743480d4 100644 (file)
@@ -1,4 +1,5 @@
 #!/usr/bin/env python
+# SPDX-License-Identifier: ISC
 
 #
 # test_cspf_topo1.py
@@ -7,20 +8,6 @@
 # Copyright (c) 2022 by Orange
 # Author: Olivier Dugeon <olivier.dugeon@orange.com>
 #
-# Permission to use, copy, modify, and/or distribute this software
-# for any purpose with or without fee is hereby granted, provided
-# that the above copyright notice and this permission notice appear
-# in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND NETDEF DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NETDEF BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
-# DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
-# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
-# OF THIS SOFTWARE.
-#
 
 """
 test_cspf_topo1.py: Test the FRR Constraint Shortest Path First algorithm.
@@ -177,7 +164,7 @@ def compare_cspf_output(tgen, rname, fileref, src, dst, cost, bw=""):
     test_func = partial(
         topotest.router_output_cmp, tgen.gears[rname], command, expected
     )
-    result, diff = topotest.run_and_expect(test_func, "", count=2, wait=2)
+    result, diff = topotest.run_and_expect(test_func, "", count=5, wait=2)
     assert result, "CSPF output mismatches the expected result on {}:\n{}".format(
         rname, diff
     )