lobbyboy-ssh / lobbyboy

A lobby boy will create a VPS server when you need one, and destroy it after using it.
238 stars 10 forks source link

tests for need_destroy #39

Open laixintao opened 2 years ago

laixintao commented 2 years ago

somehow some of my instance didn't get destroyed, I suspect there are some bugs in https://github.com/lobbyboy-ssh/lobbyboy/blob/41bba07e856e6ce31f7164232723e7440a469f18/lobbyboy/server_killer.py#L42

but I didn't find any, let me add test cases later.

luxiaba commented 2 years ago

seems killers don't work as expected sometimes, it happened to me before, but i don't remember clearly.

i think i can check it tomorrow. which kind of host do you use, remote vps or local container?

laixintao commented 2 years ago

local container, but I think that doesn't matter because the logs said this instance should have more time to live, which it doesn't.

luxiaba commented 2 years ago

got it, i'll check it today.