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

Test Cases Failing (4) #336

Closed
ArchanaArige opened this issue Jan 24, 2023 · 1 comment · Fixed by #349
Closed

Test Cases Failing (4) #336

ArchanaArige opened this issue Jan 24, 2023 · 1 comment · Fixed by #349
Labels

Comments

@ArchanaArige
Copy link
Contributor

ArchanaArige commented Jan 24, 2023

What happened?

I have tried running the test-cases of which 4 are failing.
processBlockEvent
1) should return without error
✓ should throw an error if it has already been in process
✓ should raise new channel notification if genesis has not already been stored yet
2) should raise update channel notification if config block is processed
3) should be done without any errors when config block doesn't have any payload in last updated data
4) should be done without any errors when _lifecycle block is processed

Has anyone faced the same issue while running the testcases? Please help, in fixing these issues.

Testcases

What did you expect to happen?

Expected all the test cases would pass.

How can we reproduce it (as minimally and precisely as possible)?

Need to run the test- cases as per the ReadMe.

Anything else we need to know?

No response

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
@SunnyAjin
Copy link
Contributor

Test cases are failing due to Buffer.from() function in syncServices.ts. Where Buffer.from() expects object types like String, Array, Buffer, arrayBuffer but it is getting an object of another type. Solution can be giving JSON.stringify() for the object in Buffer.from().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants