Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMirrorStopOnFirstMatch (0.12 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            assertSame(mirrorB, mirrorSelector.getMirror(getRepo("b", "http://a.a"), mirrors));
    
            assertSame(mirrorC, mirrorSelector.getMirror(getRepo("c", "http://c.c"), mirrors));
        }
    
        @Test
        void testMirrorStopOnFirstMatch() {
            // exact matches win first
            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top