Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deffer attributes updates for uninitialized devices. (#290)
* Test node_descriptor for uninitialized device. Don't save node descriptor if device wasn't fully initialized. * Attribute_update tests. Don't update attributes in persistent storage if device is not fully initialized. * fixup-test * Deffered node_descriptor and attribute updates. Don't update node_descriptor and attributes in the persistent storage, unless device was fully initialized. * Don't save uninitialized device. * Relax attribute DB schema. Don't enforce cluster_id as a foreign key for attributes. * Fix test coverage.
- Loading branch information
Showing
3 changed files
with
105 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters