When running long running tests (perhaps UI tests with Selenium)
I got this error:
The job running on agent xAgentNamex has exceeded the maximum execution time of 01:00:00.
The default timeout for VSTS Agent is 60 minutes.
The solution was to increase Build job timeout in minutes, under settings of build definition in the VSTS dashboard.
Solution found here:
Source: tfsbuild – How to Increase build vnext build agent execution time? – Stack Overflow