Commit Graph

16 Commits

Author SHA1 Message Date
d1e85ec03e
Kick Contract (#2)
Production grade kick contract code for financial transaction tested for both vm and app
modified schema to include node in kick, default time for deleted_app and removed unwanted fields
app data migration for testing kick contract for active_app
fixed some tests
register operator

Reviewed-on: #2
Co-authored-by: Noor <noormohammedb@protonmail.com>
Co-committed-by: Noor <noormohammedb@protonmail.com>
Signed-off-by: Noor <noormohammedb@protonmail.com>
2025-05-26 03:17:00 +05:30
af18e4ee77
fixes and tests
admin keys from env
test operator inspection
test vm creation timeout
extensive tests on airdrop
refactor db module imports
fix register vm_node creates operator account in db
modularised test into its module and reusable method
fix test brain message add ssh port on mock daemon while new vm
improved error handling on tests unwraping only on top level method
test utils methods accepts refs to remove clone() on top level methods
2025-05-08 15:12:58 +05:30
cd44d82463
VM updates and VM deletion 2025-05-08 02:59:27 +03:00
cf232f83b3
simplified folder structure 2025-05-06 01:00:42 +03:00
28ff8dcd81
dotenv support
database credentials loading from .env
removed db cred from constants
updated tests accordingly
2025-05-02 20:05:22 +05:30
8abe8eebf4
Refactor database connection handling
use SurrealDB directly in Brain services
modified tests accordingly
cleanedup tests comments
2025-05-02 19:33:34 +05:30
ea3169c024
Fix database channel close error 2025-05-02 19:05:28 +05:30
de5fba37c9
refactor mock vm daemon and simplified client service fn 2025-04-30 16:40:30 +05:30
ab39b12da9
organize daemon test helpers 2025-04-30 15:47:59 +05:30
32f6548eff
seperating tests
renamed a test file
seperated daemon service tests
modularizing test into reusable methods
2025-04-30 02:09:14 +05:30
a7268792ad
test brain message
refactor test environment
mocked daemon and cli to interact with brain
2025-04-29 19:01:24 +05:30
c424d07cc3
test with new keys
create new keys for each test
deleted static key
2025-04-28 20:28:11 +05:30
c74eab51ef
refactor test environment
removing unused gRPC server/client setup
simplifying database preparation
seperate server for normal call and grpc stream
2025-04-28 18:12:58 +05:30
48820189e3
refactor test environment to use real gRPC clients and servers 2025-04-28 16:57:17 +05:30
0543130cd5
test database cleanup
test report node
2025-04-28 16:57:17 +05:30
a9168d3204
refactor tests
modularised common code
cleaned grpc_test file
2025-04-28 16:57:17 +05:30