Skip to content

Commit

Permalink
Merge pull request #209 from kytos-ng/fix/interface_available_tags
Browse files Browse the repository at this point in the history
Moved controller method inside lock
  • Loading branch information
viniarck authored Aug 23, 2024
2 parents c500778 + 063fa48 commit 989ef04
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ All notable changes to the ``topology`` project will be documented in this file.
[UNRELEASED] - Under development
********************************

[2024.1.1] - 2024-08-23
***********************

Fixed
=====
- Update ``interface_detail`` document in the DB can handle multiple and fast changes.

[2024.1.0] - 2024-07-23
***********************

Expand Down
2 changes: 1 addition & 1 deletion kytos.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"username": "kytos",
"name": "topology",
"description": "Manage the network topology.",
"version": "2024.1.0",
"version": "2024.1.1",
"napp_dependencies": ["kytos/of_core", "kytos/of_lldp"],
"license": "MIT",
"tags": ["topology", "rest"],
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ def on_interface_tags(self, event):
):
return
self._intfs_tags_updated_at[interface.id] = event.timestamp
self.handle_on_interface_tags(interface)
self.handle_on_interface_tags(interface)

def handle_on_interface_tags(self, interface):
"""Update interface details"""
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ class Test(TestCommand):

def run(self):
"""Run tests."""
cmd = f"python3 -m pytest tests/ {self.get_args()}"
cmd = "python3 -m pytest tests/ --cov-report term-missing"
cmd += f" {self.get_args()}"
try:
check_call(cmd, shell=True)
except CalledProcessError as exc:
Expand All @@ -113,7 +114,8 @@ class TestCoverage(Test):

def run(self):
"""Run tests quietly and display coverage report."""
cmd = f"python3 -m pytest --cov=. tests/ {self.get_args()}"
cmd = "python3 -m pytest --cov=. tests/ --cov-report term-missing"
cmd += f" {self.get_args()}"
try:
check_call(cmd, shell=True)
except CalledProcessError as exc:
Expand Down

0 comments on commit 989ef04

Please sign in to comment.