Skip to content

Commit

Permalink
[chores] Minor changes in configuration
Browse files Browse the repository at this point in the history
- Removed redundant test code.
  • Loading branch information
Aryamanz29 committed Jun 24, 2022
1 parent 8823581 commit f83d3c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions openwisp_monitoring/device/tests/test_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ def test_trigger_device_recovery_task_regression(
dm = self._create_device_monitoring()
dm.device.management_ip = None
dm.device.save()
# Delete iperf check to prevent unnecessary response timeout
Check.objects.filter(check_type__endswith='Iperf').delete()
trigger_device_checks.delay(dm.device.pk)
self.assertTrue(Check.objects.exists())
# we expect update_status() to be called once (by the check)
Expand Down
3 changes: 2 additions & 1 deletion openwisp_monitoring/monitoring/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ def _get_access_tech():
'title': _('Retransmits'),
'colors': [DEFAULT_COLORS[-3]],
'description': _('No. of retransmits during Iperf3 test in TCP mode.'),
'unit': '',
'order': 300,
'query': chart_query['retransmits'],
},
Expand Down Expand Up @@ -618,7 +619,7 @@ def _get_access_tech():
_('Lost datagram'),
_('Total datagram'),
],
'unit': _(''),
'unit': '',
'order': 320,
'query': chart_query['datagram'],
'colors': [DEFAULT_COLORS[3], DEFAULT_COLORS[2]],
Expand Down

0 comments on commit f83d3c6

Please sign in to comment.