network_reconnect_resume_test fails when run for wired connection

Bug #1064385 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Brendan Donegan

Bug Description

This script is used to check the length of time it takes for a network interface to come back up after a suspend. At the moment when run for the 'wired' interface it is failing with the following stack trace:

Traceback (most recent call last):
  File "scripts/network_reconnect_resume_test", line 101, in <module>
      sys.exit(main())
  File "scripts/network_reconnect_resume_test", line 87, in main
      timedif = get_time_difference(args.device)
  File "scripts/network_reconnect_resume_test", line 36, in get_time_difference
      if reconnect_time >= resume_time:
  TypeError: unorderable types: str() >= float()

This seems to be because the reconnect_time is actually stored as a string rather than a float.

Related branches

Changed in checkbox:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Brendan Donegan (brendan-donegan)
Changed in checkbox:
status: In Progress → Fix Committed
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.