Skip to content

Fixed FrameBufferAllocatorTest. - #18

Merged
lehecka merged 1 commit into
masterfrom
unknown repository
May 12, 2016
Merged

lehecka merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented May 12, 2016

Copy link
Copy Markdown

Singleton factory passed in make_mock referred to an object which was destroyed after every frame serialisation test. The last test that run, left the factory instead of resetting it to a default one (which provides an instance of FrameBufferAllocator). Consequently, the next test that used allocator (RequestChannel) was using a dangling pointer for frame allocations. Fixes #2 .

@ghost

ghost commented May 12, 2016

Copy link
Copy Markdown
Author

CI is not there yet, but all tests pass, check cmake ../ && make -j7 && ./ReactiveSocketTest

@lehecka
lehecka merged commit eda419b into rsocket:master May 12, 2016
@ghost
ghost deleted the singleton-fix branch May 12, 2016 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant