Closed pattivacek closed 2 years ago
FYI @mike-sul @doanac. It also occurs to me that the version comparison logic might be similar to something you already have in aktualizr-lite.
I can't figure out why now the first test case is looping indefinitely in of these complicated tests. Everything else looks fine.
I can't figure out why now the first test case is looping indefinitely in of these complicated tests. Everything else looks fine.
I see lots of
Failed to connect to the Secondary ( 127.0.0.1:36995): Connection refused
I guess, the secondary instance failed to start...
This is now ready for review (along with https://github.com/uptane/aktualizr/pull/24).
I've only gotten positive feedback here so far, so I will probably merge this in the next couple days if I don't hear any objections. I've been testing it thoroughly and have not had any issues.
It works for me.
There are plenty of test cases to verify this but I'm still open to feedback.
I also still need to work on the Primary side so that it doesn't try to send the Director metadata if it doesn't need to (and/or isn't available) in this case.Update: Primary side works correctly now, too.