Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Correct mock bucketfs upload method #63

@umitbuyuksahin

Description

@umitbuyuksahin

Background

  • An infinite loop occurs, while reading a file object chunk by chunk in the line shown below.
  • The reason of the infinite loop is that the senitel character of the iter method is not correct. It should be b'', instead of ' '.

for chunk in iter(lambda: fileobj.read(10000), ''):

Acceptance Criteria

  • Fixed the error
  • Add unit tests regarding this method

Metadata

Metadata

Labels

bugUnwanted / harmful behaviorsource:exasolIssue was created on behalf of the organization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions