atlanticwave-sdx / pce

Path Computation Element for AtlanticWave SDX.
https://www.atlanticwave-sdx.net
0 stars 3 forks source link

#175: assign float(inf) to be the default request latency #178

Closed YufengXin closed 4 months ago

YufengXin commented 6 months ago

As described by Italo in issue #175. The unites sets the default to be a higher number, so this is why it's not covered.

in test_te_manager._make_traffic_matrix_from_list: line 170 if len(request) >= 4: required_latency = request[3] else:

Use a very high latency default latency value in tests.

                required_latency = 100 
coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 7993325494

Details


Totals Coverage Status
Change from base Build 7880614954: 0.0%
Covered Lines: 896
Relevant Lines: 1100

💛 - Coveralls
jab1982 commented 4 months ago

@sajith, can you merge this?