Page MenuHomeSoftware Heritage

Fix tests using same Endpoint multiple times
ClosedPublic

Authored by haltode on Thu, Aug 22, 8:14 PM.

Details

Summary

Since 101c50f2f10e, the visited array is not reset before each
Traversal methods but instead only once in class constructor. This
change broke unit tests which were using multiple times the same
Endpoint.

Diff Detail

Repository
rDGRPH Graph service
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

haltode created this revision.Thu, Aug 22, 8:14 PM
zack accepted this revision.Fri, Aug 23, 8:46 AM
This revision is now accepted and ready to land.Fri, Aug 23, 8:46 AM
This revision was automatically updated to reflect the committed changes.