2014-09-24 31 views
0

最近我們正在將telerik測試用例集成到TFS 2012 BDT工作流程中。TFS實驗 - 終止運行:結束日期後不能開始日期

但是,當有在測試計劃失敗的測試,所有測試情況下,隨後測試失敗的情況下將與以下錯誤中止:

"ID"  "Date and time" "Message" 
23   "09/23/2014 15:50:34" "Error saving the test results: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34. 
Will retry 3 time(s)." 
24   "09/23/2014 15:51:05" "Error saving the test results: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34. 
Will retry 2 time(s)." 
25   "09/23/2014 15:51:36" "Error saving the test results: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34. 
Will retry 1 time(s)." 
26   "09/23/2014 15:52:06" "Error saving the test results: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34. 
Will retry 0 time(s)." 
27   "09/23/2014 15:52:06" "Unexpected error occurred. Aborting run: The start date 2014/9/23 15:50:05 cannot occur after the end date 2014/9/23 7:50:34." 

如果所有測試用例通過,就不會發生問題。
如果我們運行MSTest UI測試即使測試用例失敗,也不會發生這樣的問題。

TFS版本:2012 RTM。
所有TFS Lab都是hyper-v虛擬機。
測試控制器,構建控制器是hyper-v VM。

所有Build控制器,測試控制器,測試代理VM都有中國北京時區設置。

我們已經嘗試將測試控制器,構建控制器,測試代理VM的時區設置更改爲UTC,但問題仍然存在。

此外我們檢查了主機服務器有中國北京時區。 TFS基礎設施在公司領域。時間正確同步。

post有一些類似的錯誤,但我們沒有任何線索可以解決它。因爲所有時間都正確同步。

+0

嘗試檢查併爲您的環境運行最新更新並確保它們相同,我可以聞到不兼容的更新版本 – 2014-09-24 12:21:04

回答

0

謝謝M.Radwan。

我們發現,我們的測試劑是2012更新4.但測試控制器是2012年

後升級測試控制器至2012年4更新,錯誤已經一去不復返了。

相關問題