Last Updated: February 25, 2016
·
819
· mattdharmon

PHPUnit Testing for Sessions and Dynamo DB

So I ran into an interesting problem with my session testing that was being stored into DynamoDb. The problem being that my Virtual Machine (VM) clock was 15 minutes behind the AWS clock.

To Fix this problem I had to reboot my VM and it magically solved the problem. However, not having to restart my VM from a terminal is something I rarely ever do, I had to look up the command (and what is a CoderWall post without some sort of code snippet):

sudo reboot

I am also posting this for myself for future uses.