Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
5d9c16e4
Commit
5d9c16e4
authored
12 years ago
by
Lloyd Hilaiel
Browse files
Options
Downloads
Plain Diff
Merge pull request #2057 from zaach/adjust_load_gen_for_api_changes
Remove extraneous params in load_gen requests
parents
568a276c
9e72d514
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/load_gen/activities/reset_pass.js
+1
-2
1 addition, 2 deletions
lib/load_gen/activities/reset_pass.js
lib/load_gen/activities/signup.js
+1
-2
1 addition, 2 deletions
lib/load_gen/activities/signup.js
with
2 additions
and
4 deletions
lib/load_gen/activities/reset_pass.js
+
1
−
2
View file @
5d9c16e4
...
@@ -77,8 +77,7 @@ exports.startFunc = function(cfg, cb) {
...
@@ -77,8 +77,7 @@ exports.startFunc = function(cfg, cb) {
// and simulate clickthrough
// and simulate clickthrough
wcli
.
post
(
cfg
,
'
/wsapi/complete_user_creation
'
,
context
,
{
wcli
.
post
(
cfg
,
'
/wsapi/complete_user_creation
'
,
context
,
{
token
:
r
.
body
,
token
:
r
.
body
ephemeral
:
false
},
function
(
err
,
r
)
{
},
function
(
err
,
r
)
{
if
(
err
)
{
if
(
err
)
{
return
cb
(
err
);
return
cb
(
err
);
...
...
This diff is collapsed.
Click to expand it.
lib/load_gen/activities/signup.js
+
1
−
2
View file @
5d9c16e4
...
@@ -74,8 +74,7 @@ exports.startFunc = function(cfg, cb) {
...
@@ -74,8 +74,7 @@ exports.startFunc = function(cfg, cb) {
if
(
r
.
code
!==
200
)
return
cb
(
"
can't get verification secret:
"
+
r
.
code
);
if
(
r
.
code
!==
200
)
return
cb
(
"
can't get verification secret:
"
+
r
.
code
);
// and simulate clickthrough
// and simulate clickthrough
wcli
.
post
(
cfg
,
'
/wsapi/complete_user_creation
'
,
context
,
{
wcli
.
post
(
cfg
,
'
/wsapi/complete_user_creation
'
,
context
,
{
token
:
r
.
body
,
token
:
r
.
body
ephemeral
:
false
},
function
(
err
,
r
)
{
},
function
(
err
,
r
)
{
try
{
try
{
if
(
err
)
throw
err
;
if
(
err
)
throw
err
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment