Open Kilda Java Documentation
org.openkilda.wfm.isl.DiscoveryLinkTest Class Reference

Public Member Functions

void setUp () throws Exception
 
void testDefaultLinkDiscovered ()
 
void shouldLinkBeDiscoveredWhenDestinationIsSet ()
 
void forlorn ()
 
void failure ()
 
void getConsecutiveSuccess ()
 
void incAttempts ()
 
void renew ()
 
void logTick ()
 

Detailed Description

Definition at line 27 of file DiscoveryLinkTest.java.

Member Function Documentation

◆ failure()

void org.openkilda.wfm.isl.DiscoveryLinkTest.failure ( )

Test the basic functions of failures. Starts at zero, can be incremented and cleared.

Definition at line 71 of file DiscoveryLinkTest.java.

◆ forlorn()

void org.openkilda.wfm.isl.DiscoveryLinkTest.forlorn ( )

Verify the initial behavior of forlorn and the limit scenarios.

Definition at line 57 of file DiscoveryLinkTest.java.

◆ getConsecutiveSuccess()

void org.openkilda.wfm.isl.DiscoveryLinkTest.getConsecutiveSuccess ( )

Test the basic functions of success. Starts at zero, can be incremented and cleared.

Definition at line 83 of file DiscoveryLinkTest.java.

◆ incAttempts()

void org.openkilda.wfm.isl.DiscoveryLinkTest.incAttempts ( )

isAttemptsLimitExceeded tests if the passed-in limit is less than the number of attempts.

Definition at line 95 of file DiscoveryLinkTest.java.

◆ logTick()

void org.openkilda.wfm.isl.DiscoveryLinkTest.logTick ( )

Definition at line 122 of file DiscoveryLinkTest.java.

◆ renew()

void org.openkilda.wfm.isl.DiscoveryLinkTest.renew ( )

Definition at line 110 of file DiscoveryLinkTest.java.

◆ setUp()

void org.openkilda.wfm.isl.DiscoveryLinkTest.setUp ( ) throws Exception

Definition at line 34 of file DiscoveryLinkTest.java.

◆ shouldLinkBeDiscoveredWhenDestinationIsSet()

void org.openkilda.wfm.isl.DiscoveryLinkTest.shouldLinkBeDiscoveredWhenDestinationIsSet ( )

Definition at line 48 of file DiscoveryLinkTest.java.

◆ testDefaultLinkDiscovered()

void org.openkilda.wfm.isl.DiscoveryLinkTest.testDefaultLinkDiscovered ( )

Test the setup of a DiscoveryNode - ie initial state of foundIsl; and get/set function.

Definition at line 42 of file DiscoveryLinkTest.java.


The documentation for this class was generated from the following file: