Skip to content

Get rid of setting configs via WebUISharingContext#35422

Merged
phil-davis merged 1 commit into
masterfrom
remove-setup-sharingconfig
Jun 4, 2019
Merged

Get rid of setting configs via WebUISharingContext#35422
phil-davis merged 1 commit into
masterfrom
remove-setup-sharingconfig

Conversation

@skshetry

@skshetry skshetry commented Jun 4, 2019

Copy link
Copy Markdown
Contributor

We already set the capabilities via FeatureContext on both fed and local servers.
The same settings were run twice causing conflicts, causing some of the enabled
configs to get disabled. The settings are already tracked (on Sharing.php), so they were redundant.

Motivation and Context

Fed sharing on remote server was getting disabled after running the tests. Took too much time to pin this down.

How Has This Been Tested?

./core/occ config:list files_sharing
./fed_core/occ config:list files_sharing
make test-acceptance-webui BEHAT_FEATURE=tests/acceptance/features/webUISharingExternal/federationSharing.feature:25
./core/occ config:list files_sharing
./fed_core/occ config:list files_sharing

Previously, the last output would show fed_sharing disabled. Now, it should not be disabled.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • Backport (if applicable set "backport-request" label and remove when the backport was done)

We already set the capabilities via FeatureContext on both fed and local servers.
The same settings were run twice causing conflicts, causing some of the enabled
configs to get disabled. The settings are already tracked.

@paurakhsharma paurakhsharma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@skshetry

skshetry commented Jun 4, 2019

Copy link
Copy Markdown
Contributor Author

Backport for stable10 on #35423

@dpakach dpakach left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@codecov

codecov Bot commented Jun 4, 2019

Copy link
Copy Markdown

Codecov Report

Merging #35422 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #35422   +/-   ##
=========================================
  Coverage     65.66%   65.66%           
  Complexity    18666    18666           
=========================================
  Files          1221     1221           
  Lines         70597    70597           
  Branches       1288     1288           
=========================================
  Hits          46358    46358           
  Misses        23862    23862           
  Partials        377      377
Flag Coverage Δ Complexity Δ
#javascript 53.69% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 67.04% <ø> (ø) 18666 <ø> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fef563f...6a7c19d. Read the comment docs.

1 similar comment
@codecov

codecov Bot commented Jun 4, 2019

Copy link
Copy Markdown

Codecov Report

Merging #35422 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #35422   +/-   ##
=========================================
  Coverage     65.66%   65.66%           
  Complexity    18666    18666           
=========================================
  Files          1221     1221           
  Lines         70597    70597           
  Branches       1288     1288           
=========================================
  Hits          46358    46358           
  Misses        23862    23862           
  Partials        377      377
Flag Coverage Δ Complexity Δ
#javascript 53.69% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 67.04% <ø> (ø) 18666 <ø> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fef563f...6a7c19d. Read the comment docs.

@phil-davis phil-davis merged commit edb512b into master Jun 4, 2019
@delete-merged-branch delete-merged-branch Bot deleted the remove-setup-sharingconfig branch June 4, 2019 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants