Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] AttributeError: module 'signal' has no attribute 'SIGALRM' on Windows machine #1611

Open
devaskim opened this issue Dec 5, 2024 · 0 comments
Assignees
Labels

Comments

@devaskim
Copy link
Contributor

devaskim commented Dec 5, 2024

Describe the bug
Cannot run unit tests because of compilation error:

Error
Traceback (most recent call last):
  File "C:\Users\Admin\code\tb\thingsboard-gateway\tests\unit\service\test_duplicate_detector.py", line 96, in setUp
    super().setUp()
  File "C:\Users\Admin\code\tb\thingsboard-gateway\tests\unit\BaseUnitTest.py", line 11, in setUp
    super().setUp()
  File "C:\Users\Admin\code\tb\thingsboard-gateway\tests\base_test.py", line 33, in setUp
    signal.signal(signal.SIGALRM, self._timeout_handler)
                  ^^^^^^^^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGALRM'
@devaskim devaskim added the bug label Dec 5, 2024
@devaskim devaskim changed the title [BUG] AttributeError: module 'signal' has no attribute 'SIGALRM' [BUG] AttributeError: module 'signal' has no attribute 'SIGALRM' on Windows machine Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants