Logging out and logging back in is not supposed to expire your sudo ticket. This is normal.
Here's a proper test:
sudo ls (wait 20 minutes) sudo ls
Logging out and logging back in is not supposed to expire your sudo ticket. This is normal.
Here's a proper test:
sudo ls
(wait 20 minutes)
sudo ls